Skip to content

Commit 7345d50

Browse files
committed
keep strong references of worker instances
update common tests submodule
1 parent 41e1f97 commit 7345d50

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

runtime/src/main/jni/CallbackHandlers.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,8 +919,6 @@ void CallbackHandlers::NewThreadCallback(const v8::FunctionCallbackInfo<v8::Valu
919919

920920
id2WorkerMap.insert(make_pair(workerId, persistentWorker));
921921

922-
persistentWorker->SetWeak();
923-
924922
DEBUG_WRITE("Called Worker constructor id=%d", workerId);
925923

926924
JEnv env;

0 commit comments

Comments
 (0)