summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Sluift/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Sluift/client.cpp b/Sluift/client.cpp
index 1a64eea..914ab9c 100644
--- a/Sluift/client.cpp
+++ b/Sluift/client.cpp
@@ -112,6 +112,7 @@ SLUIFT_LUA_FUNCTION_WITH_HELP(
"self\n",
""
) {
+ Sluift::globals.eventLoop.runOnce();
getClient(L)->disconnect();
return 0;
}