Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
fix crash if mmap failed (#2880)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darin726 authored and lucky-chen committed Sep 4, 2019
1 parent cbfb57b commit 440ae80
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -163,6 +163,7 @@ static void *newIPCServer(void *_td) {
int _errno = errno;
//throw IPCException("failed to map ashmem region: %s", strerror(_errno));
newThreadStatus = ERROR;
base::android::DetachFromVM();
return nullptr;
}

Expand Down

0 comments on commit 440ae80

Please sign in to comment.