summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 07e554c4fb..c895972b0e 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -426,6 +426,11 @@ void exit_server(char *reason)
conn_close_all();
+ /* delete our entry in the connections database. */
+ if (lp_status(-1)) {
+ yield_connection(NULL,"",MAXSTATUS);
+ }
+
respond_to_all_remaining_local_messages();
#ifdef WITH_DFS