Skip to content

Commit

Permalink
WIP TODO remove what happens if I remove the nextTick usage?
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrence-forooghian committed Jul 9, 2024
1 parent a03811b commit f5125c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/common/modules/shared_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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) {
Expand Down

0 comments on commit f5125c1

Please sign in to comment.