!758 asan nweb exit

Merge pull request !758 from wxt/master
This commit is contained in:
openharmony_ci 2023-08-14 12:22:43 +00:00 committed by Gitee
commit d76e724889
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -100,11 +100,11 @@ int main(int argc, char *const argv[])
APPSPAWN_CHECK(content->runAppSpawn != NULL, return -1, "Invalid content for appspawn");
// set common operation
AddNwebInfo(pid, NWEBSPAWN_SERVER_NAME);
content->loadExtendLib = LoadExtendLib;
content->runChildProcessor = RunChildProcessor;
content->initAppSpawn(content);
if (mode == 0) {
AddNwebInfo(pid, NWEBSPAWN_SERVER_NAME);
SystemSetParameter("bootevent.appspawn.started", "true");
}
content->runAppSpawn(content, argc, argv);