fix: StartInspector now takes a shared_ptr to DebugOptions
This commit is contained in:
Родитель
88b494191c
Коммит
107c4455dc
|
@ -370,7 +370,7 @@ static struct {
|
||||||
void DrainVMTasks(Isolate* isolate) {}
|
void DrainVMTasks(Isolate* isolate) {}
|
||||||
void CancelVMTasks(Isolate* isolate) {}
|
void CancelVMTasks(Isolate* isolate) {}
|
||||||
bool StartInspector(Environment* env, const char* script_path,
|
bool StartInspector(Environment* env, const char* script_path,
|
||||||
const DebugOptions& options) {
|
std::shared_ptr<DebugOptions> options) {
|
||||||
env->ThrowError("Node compiled with NODE_USE_V8_PLATFORM=0");
|
env->ThrowError("Node compiled with NODE_USE_V8_PLATFORM=0");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче