aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io/net-listener.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/io/net-listener.c b/io/net-listener.c
index 46c2643d00..1c984d69c6 100644
--- a/io/net-listener.c
+++ b/io/net-listener.c
@@ -292,6 +292,9 @@ static void qio_net_listener_finalize(Object *obj)
QIONetListener *listener = QIO_NET_LISTENER(obj);
size_t i;
+ if (listener->io_notify) {
+ listener->io_notify(listener->io_data);
+ }
qio_net_listener_disconnect(listener);
for (i = 0; i < listener->nsioc; i++) {