We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 169c584 commit ca88683Copy full SHA for ca88683
1 file changed
src/core/classes/Iterable.ts
@@ -998,7 +998,7 @@ export class Iterable {
998
(promiseResult as IterableAuthResponse).authToken
999
);
1000
1001
- const timeoutId = setTimeout(() => {
+ setTimeout(() => {
1002
if (
1003
authResponseCallback === IterableAuthResponseResult.SUCCESS
1004
) {
@@ -1017,8 +1017,6 @@ export class Iterable {
1017
1018
}
1019
}, 1000);
1020
- // Use unref() to prevent the timeout from keeping the process alive
1021
- timeoutId.unref();
1022
} else if (typeof promiseResult === typeof '') {
1023
//If promise only returns string
1024
RNIterableAPI.passAlongAuthToken(promiseResult as string);
0 commit comments