-
Notifications
You must be signed in to change notification settings - Fork 408
Zone.js hangs on Meteor env #946
Comments
Meteor uses Fibers by patching Promise.then as well, then change 'writable' false. After that, zone.js patches Promise( by forcing to make it writable ). |
@ardatan , I am not familiar with |
Angular already calls ZoneAwarePromise in application. Btw, this is only for server-side rendering, and it works correctly if we do not overwrite 'prototype.then'. |
I can confirm that the patch sugested by @ardatan fixes meteor backend issues with zone.js |
Due to Meteor's restriction of 'patchThen' issue, it was fixed to force patching by change property of writable to true.
#851
In Meteor 1.6, 'then' should not patch in case of
writable : false
, because it causes hanging.I think fix should be like
This fix is important for new version of Angular Meteor. I hope you will be interested in. Thanks.
The text was updated successfully, but these errors were encountered: