mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
IssueNo: #I5UIZV
Description: hap解压失败导致崩溃 Sig: SIG_ApplicationFramework Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: 杨亮 <yangliang36@huawei.com> Change-Id: Id6f313bd26bdab330ed3efa00823ad33de1bba14
This commit is contained in:
@@ -551,7 +551,7 @@ void JsRuntime::Deinitialize()
|
||||
|
||||
auto uvLoop = nativeEngine_->GetUVLoop();
|
||||
auto fd = uvLoop != nullptr ? uv_backend_fd(uvLoop) : -1;
|
||||
if (fd >= 0) {
|
||||
if (fd >= 0 && eventHandler_ != nullptr) {
|
||||
eventHandler_->RemoveFileDescriptorListener(fd);
|
||||
}
|
||||
RemoveTask(TIMER_TASK);
|
||||
|
||||
@@ -60,7 +60,7 @@ std::shared_ptr<RuntimeExtractor> RuntimeExtractor::Create(const std::string& ha
|
||||
}
|
||||
std::shared_ptr<RuntimeExtractor> runtimeExtractor = std::make_shared<RuntimeExtractor>(loadPath);
|
||||
if (!runtimeExtractor->Init()) {
|
||||
HILOG_ERROR("RuntimeExtractor create failed");
|
||||
HILOG_ERROR("RuntimeExtractor create failed for %{public}s", loadPath.c_str());
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user