summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2018-02-13 13:14:42 +0000
committerFrediano Ziglio <fziglio@redhat.com>2018-07-03 11:12:20 +0100
commitbabbb8cabd91e5bbe5a0aa51d2d3fea3d50591d8 (patch)
treeba8dd6238309a4fef046ecf0e18be029bab800a2
parent75a6a6dad856c2e9f2107b98604d1f5de3217e8b (diff)
do not exit to see nvidia errors on switchsave
-rw-r--r--src/spice-streaming-agent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
index 5f0f1d3..1c5455c 100644
--- a/src/spice-streaming-agent.cpp
+++ b/src/spice-streaming-agent.cpp
@@ -219,7 +219,7 @@ static void read_command(StreamPort &stream_port, bool blocking)
#ifdef CHILD_SEP
child_status->launch_again = true;
#endif
- exit(0);
+// exit(0);
}
continue;
}
@@ -381,7 +381,7 @@ static void cursor_changes(StreamPort *stream_port, Display *display, int event_
child_status->launch_again = true;
#endif
// this is necessary as to avoid a clean exit that will hangs :(
- _Exit(0);
+// _Exit(0);
}
::vt_active.store(vt_active, std::memory_order_relaxed);
std::atomic_thread_fence(std::memory_order_acquire);