| 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 4a3768df6b64613d23cde3d61db199bfb5191f21..5a6411d7e8dbba701486257356966ce1a6b2dca3 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -270,6 +270,8 @@ WorkerEventQueue* WorkerGlobalScope::GetEventQueue() const {
|
| }
|
|
|
| CoreProbeSink* WorkerGlobalScope::GetProbeSink() {
|
| + if (IsClosing())
|
| + return nullptr;
|
| if (WorkerInspectorController* controller =
|
| GetThread()->GetWorkerInspectorController())
|
| return controller->GetProbeSink();
|
|
|