From f5125c1126e74243bf5043984e7ce36ee8770dca Mon Sep 17 00:00:00 2001 From: Lawrence Forooghian Date: Tue, 9 Jul 2024 14:21:01 -0300 Subject: [PATCH] WIP TODO remove what happens if I remove the nextTick usage? --- test/common/modules/shared_helper.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/common/modules/shared_helper.js b/test/common/modules/shared_helper.js index f5d84a8de..e477ed851 100644 --- a/test/common/modules/shared_helper.js +++ b/test/common/modules/shared_helper.js @@ -250,9 +250,9 @@ define([ _callbackOnClose(realtime, callback) { if (realtime.connection.state === 'closed' || realtime.connection.state === 'failed') { this.recordPrivateApi('call.Platform.nextTick'); - platform.Config.nextTick(function () { - callback(); - }); + //platform.Config.nextTick(function () { + callback(); + //}); return; } @@ -264,9 +264,9 @@ define([ * happening synchronously in a publish/attach callback, which * complicates channelattach_publish_invalid etc. */ this.recordPrivateApi('call.Platform.nextTick'); - platform.Config.nextTick(function () { - realtime.close(); - }); + //platform.Config.nextTick(function () { + realtime.close(); + //}); } closeAndFinishSeveral(done, realtimeArray, e) {