diff options
-rw-r--r-- | server/red_channel.c | 3 | ||||
-rw-r--r-- | server/red_channel.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index 5f906e6b..ecb512d3 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -1191,9 +1191,6 @@ void red_channel_client_disconnect(RedChannelClient *rcc) return; } red_channel_client_pipe_clear(rcc); - if (rcc->channel->channel_cbs.pre_disconnect) { - rcc->channel->channel_cbs.pre_disconnect(rcc); - } if (rcc->stream->watch) { rcc->channel->core->watch_remove(rcc->stream->watch); rcc->stream->watch = NULL; diff --git a/server/red_channel.h b/server/red_channel.h index ce534ca1..5dfd187b 100644 --- a/server/red_channel.h +++ b/server/red_channel.h @@ -187,7 +187,6 @@ typedef void (*channel_client_migrate_proc)(RedChannelClient *base); */ typedef struct { channel_configure_socket_proc config_socket; - channel_disconnect_proc pre_disconnect; channel_disconnect_proc on_disconnect; channel_send_pipe_item_proc send_item; channel_hold_pipe_item_proc hold_item; |