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(
286286
287287void V8InspectorImpl::asyncTaskScheduled (const StringView& taskName, void * task,
288288 bool recurring) {
289+ if (!task) return ;
289290 m_debugger->asyncTaskScheduled (taskName, task, recurring);
290291}
291292
292293void V8InspectorImpl::asyncTaskCanceled (void * task) {
294+ if (!task) return ;
293295 m_debugger->asyncTaskCanceled (task);
294296}
295297
296298void V8InspectorImpl::asyncTaskStarted (void * task) {
299+ if (!task) return ;
297300 m_debugger->asyncTaskStarted (task);
298301}
299302
300303void V8InspectorImpl::asyncTaskFinished (void * task) {
304+ if (!task) return ;
301305 m_debugger->asyncTaskFinished (task);
302306}
303307
You can’t perform that action at this time.
0 commit comments