mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
workaround for node 9 segfaulting when running without breakpoints
This commit is contained in:
parent
873afe44b4
commit
6663329c3f
@ -80,7 +80,14 @@ define(function(require, exports, module) {
|
||||
}
|
||||
|
||||
var list = breakpoints.slice(0);
|
||||
var retries = 0;
|
||||
if (list.length == 0) {
|
||||
// node v9.5 segfaults when there are no breakpoints
|
||||
list.push({
|
||||
path: "_c9_node_segfault_workaround_",
|
||||
line: 100,
|
||||
enabled: true,
|
||||
});
|
||||
}
|
||||
|
||||
listBreakpoints(function handleBps(err, remoteBreakpoints) {
|
||||
if (err) return callback(err);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user