You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like stack space is exhausted due to recursion among postal.unsubscribe, postal.publish, and clearUnSubQueue. postal.unsubscribe publishes the system removed message on line 655. postal.publish invokes clearUnSubQueue on line 550 because the system-level publish is concluding. clearUnSubQueue calls postal.unsubscribe on line 392 because there are unsubscriptions remaining in unSubQueue.
It appears that I could end the recursion by setting _config.enableSystemMessages to false. Nothing within posal.js subscribes to these messages, and I'm not using any plugins at this time. Is this an appropriate workaround?
My local tests (IE 11 on Windows 10) started exhibiting the error after 745 unsubscriptions are added to the queue.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
The text "Out of stack space" should appear next to the "Error: " label.
Minimal example:
It looks like stack space is exhausted due to recursion among
postal.unsubscribe
,postal.publish
, andclearUnSubQueue
.postal.unsubscribe
publishes the system removed message on line 655.postal.publish
invokesclearUnSubQueue
on line 550 because the system-level publish is concluding.clearUnSubQueue
callspostal.unsubscribe
on line 392 because there are unsubscriptions remaining inunSubQueue
.It appears that I could end the recursion by setting
_config.enableSystemMessages
to false. Nothing within posal.js subscribes to these messages, and I'm not using any plugins at this time. Is this an appropriate workaround?My local tests (IE 11 on Windows 10) started exhibiting the error after 745 unsubscriptions are added to the queue.
The text was updated successfully, but these errors were encountered: