Merge "__cxa_finalize: skip fflush call on dlclose"

This commit is contained in:
Ryan Prichard 2019-04-26 21:51:05 +00:00 committed by Gerrit Code Review
commit 34bf6107b6
1 changed files with 4 additions and 1 deletions

View File

@ -186,7 +186,10 @@ restart:
}
_ATEXIT_UNLOCK();
fflush(NULL);
/* If called via exit(), flush output of all open files. */
if (dso == NULL) {
fflush(NULL);
}
/* BEGIN android-changed: call __unregister_atfork if dso is not null */
if (dso != NULL) {