diff options
author | Dan McGee <dpmcgee@gmail.com> | 2012-02-16 23:30:09 -0600 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-02-21 10:20:45 +0200 |
commit | 10d79a35c1f571fe91615dd0ffa0f67a903b69c2 (patch) | |
tree | 41c1261f415ed8516804fabe4fed7fd6ffe905bc /server/red_channel.c | |
parent | a67268cbe1038126f00cec5a5330786b4b24a6cc (diff) | |
download | spice-10d79a35c1f571fe91615dd0ffa0f67a903b69c2.tar.gz spice-10d79a35c1f571fe91615dd0ffa0f67a903b69c2.tar.xz spice-10d79a35c1f571fe91615dd0ffa0f67a903b69c2.zip |
Cleanup definitions of disconnect methods
We had multiple stub methods that simply called other disconnect
methods, making my head hurt with the indirection. Call the right
methods at the right time and rip out the stub methods; if they are
truely needed later they can be added again.
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Diffstat (limited to 'server/red_channel.c')
-rw-r--r-- | server/red_channel.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index 6296dc96..09161187 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -1201,8 +1201,6 @@ void red_channel_client_disconnect(RedChannelClient *rcc) reds_stream_free(rcc->stream); rcc->stream = NULL; red_channel_remove_client(rcc); - // TODO: not do it till destroyed? -// red_channel_client_remove(rcc); rcc->channel->channel_cbs.on_disconnect(rcc); } |