diff options
author | Alon Levy <alevy@redhat.com> | 2011-08-03 22:54:53 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-08-03 23:01:42 +0300 |
commit | f19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b (patch) | |
tree | d39845b24e6ce8a97837c2a96feb8a9691e7abc8 /client/red_client.cpp | |
parent | 3582adb989cdb6e1e75bf9341ffcebf35e58b737 (diff) | |
download | spice-f19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b.tar.gz spice-f19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b.tar.xz spice-f19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b.zip |
client/red_client: fix broken switch host migration (RHBZ 727969)
3f8d7e59dbd94b1837503f37b5065698df3ffbc7 introduced a regression, after
sending one attach_channels message we never send another one.
Fix by resetting on disconnect.
Diffstat (limited to 'client/red_client.cpp')
-rw-r--r-- | client/red_client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/red_client.cpp b/client/red_client.cpp index d0e7a3fb..e0847599 100644 --- a/client/red_client.cpp +++ b/client/red_client.cpp @@ -541,6 +541,7 @@ void RedClient::connect(bool wait_main_disconnect) void RedClient::disconnect() { _migrate.abort(); + _msg_attach_channels_sent = false; RedChannel::disconnect(); } |