mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-29 06:06:52 +08:00
fix(driver): fix debug error when exiting and re-entering
This commit is contained in:
@@ -414,7 +414,7 @@ void V8BridgeUtils::DestroyInstance(int64_t runtime_id, const std::function<void
|
||||
auto runner = runtime->GetEngine()->GetJsTaskRunner();
|
||||
runner->PostTask(std::move(cb));
|
||||
FOOTSTONE_DLOG(INFO) << "destroy, group = " << group;
|
||||
if (group != kDebuggerGroupId && group != kDefaultGroupId) {
|
||||
if ((group == kDebuggerGroupId && !is_reload) || group != kDefaultGroupId) {
|
||||
std::lock_guard<std::mutex> lock(engine_mutex);
|
||||
auto it = reuse_engine_map.find(group);
|
||||
if (it != reuse_engine_map.end()) {
|
||||
|
||||
Reference in New Issue
Block a user