Skip to content

Commit 43cca1f

Browse files
authored
fix(compass): handle settimeout error COMPASS-5867 (#3146)
1 parent b28ed50 commit 43cca1f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/compass/src/app/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ var Application = View.extend({
126126
'click a': 'onLinkClick'
127127
},
128128
initialize: function() {
129+
/**
130+
* @see NODE-4281
131+
* @todo: remove when NODE-4281 is merged.
132+
*/
133+
Number.prototype.unref = () => {};
134+
129135
ipc.on('window:show-compass-tour', this.showTour.bind(this, true));
130136
ipc.on('window:show-network-optin', this.showOptIn.bind(this));
131137
ipc.on('window:show-security-panel', this.showSecurity.bind(this));

0 commit comments

Comments
 (0)