mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
lifecycleHandle_ might be gone already
This commit is contained in:
@@ -271,7 +271,9 @@ void Worker::terminate()
|
||||
|
||||
auto* impl = lifecycleHandle_;
|
||||
lifecycleHandle_ = nullptr;
|
||||
WebWorkerLifecycleHandle__requestTermination(impl);
|
||||
if (impl) {
|
||||
WebWorkerLifecycleHandle__requestTermination(impl);
|
||||
}
|
||||
}
|
||||
|
||||
// const char* Worker::activeDOMObjectName() const
|
||||
|
||||
Reference in New Issue
Block a user