diff options
-rw-r--r-- | src/afb-proto-ws.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-proto-ws.c b/src/afb-proto-ws.c index 3c8922cd..09039763 100644 --- a/src/afb-proto-ws.c +++ b/src/afb-proto-ws.c @@ -1059,6 +1059,7 @@ static void on_hangup(void *closure) } if (protows->fd >= 0) { + close(protows->fd); protows->fd = -1; if (protows->on_hangup) protows->on_hangup(protows->closure); |