File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -286,18 +286,22 @@ std::unique_ptr<V8StackTrace> V8InspectorImpl::captureStackTrace(
286
286
287
287
void V8InspectorImpl::asyncTaskScheduled (const StringView& taskName, void * task,
288
288
bool recurring) {
289
+ if (!task) return ;
289
290
m_debugger->asyncTaskScheduled (taskName, task, recurring);
290
291
}
291
292
292
293
void V8InspectorImpl::asyncTaskCanceled (void * task) {
294
+ if (!task) return ;
293
295
m_debugger->asyncTaskCanceled (task);
294
296
}
295
297
296
298
void V8InspectorImpl::asyncTaskStarted (void * task) {
299
+ if (!task) return ;
297
300
m_debugger->asyncTaskStarted (task);
298
301
}
299
302
300
303
void V8InspectorImpl::asyncTaskFinished (void * task) {
304
+ if (!task) return ;
301
305
m_debugger->asyncTaskFinished (task);
302
306
}
303
307
You can’t perform that action at this time.
0 commit comments