[Spice-devel] [RFCv5 38/47] server/red_worker: remove forced disconnect on connect

Alon Levy alevy at redhat.com
Sun May 8 06:11:34 PDT 2011


---
 server/red_worker.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index 409b010..3fe5832 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -9883,7 +9883,6 @@ static void handle_new_display_channel(RedWorker *worker, RedClient *client, Red
     size_t stream_buf_size;
     int is_low_bandwidth = main_channel_client_is_low_bandwidth(red_client_get_main(client));
 
-    red_disconnect_all_display_TODO_remove_me((RedChannel *)worker->display_channel);
     ensure_display_channel_created(worker, migrate);
     if (!worker->display_channel) {
         return;
@@ -10037,7 +10036,6 @@ static void red_connect_cursor(RedWorker *worker, RedClient *client, RedsStream
     CursorChannel *channel;
     CursorChannelClient *ccc;
 
-    red_disconnect_cursor((RedChannel *)worker->cursor_channel);
     ensure_cursor_channel_created(worker, migrate);
     if (worker->cursor_channel == NULL) {
         red_printf("failed to create cursor channel");
-- 
1.7.5.1



More information about the Spice-devel mailing list