| Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| index cc0d668fa705944de85960f1a09e873aef612bc8..98a743625fb2fcb6666b2caa961572d342b95675 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -275,6 +275,8 @@ WorkerEventQueue* WorkerGlobalScope::GetEventQueue() const {
|
| }
|
|
|
| CoreProbeSink* WorkerGlobalScope::GetProbeSink() {
|
| + if (IsClosing())
|
| + return nullptr;
|
| if (WorkerInspectorController* controller =
|
| GetThread()->GetWorkerInspectorController())
|
| return controller->GetProbeSink();
|
|
|