Procházet zdrojové kódy

Fixed issue causing the IO module to freeze with 10 requests at the same time

Kristian Vos před 4 roky
rodič
revize
f6b7517634
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      backend/logic/io.js

+ 1 - 1
backend/logic/io.js

@@ -735,7 +735,7 @@ class _IOModule extends CoreClass {
 				.then(() => {
 					// call the job that calls the action, passing it the session, and the arguments socket.io passed us
 
-					IOModule.runJob("RUN_ACTION2", { session: socket.session, namespace, action, args })
+					IOModule.runJob("RUN_ACTION2", { session: socket.session, namespace, action, args }, this)
 						.then(response => {
 							cb(response);
 							resolve();