exodus-framework 2.1.1024 → 2.1.1025
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app/classes/event.js +5 -7
- package/package.json +1 -1
package/lib/app/classes/event.js
CHANGED
@@ -90,13 +90,11 @@ class ProcessEmitterManager extends _system.default {
|
|
90
90
|
if (cb) cb(err);
|
91
91
|
}
|
92
92
|
});
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
}); */
|
99
|
-
|
93
|
+
process.on('unhandledRejection', (reason, promise) => {
|
94
|
+
for (const cb of this.processRejectionHandles) {
|
95
|
+
if (cb) cb(reason, promise);
|
96
|
+
}
|
97
|
+
});
|
100
98
|
process.on('exit', code => {
|
101
99
|
for (const cb of this.processExitHandles) {
|
102
100
|
if (cb) cb(code);
|