소스 검색

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

Kristian Vos 4 년 전
부모
커밋
f6b7517634
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();