fix wrong order of cleanup calls (#1461)

albatross
Dean Lee 2020-05-03 23:28:10 +08:00 committed by GitHub
parent 968e2585cc
commit 75abfe28d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ int main() {
android_logger_list_close(logger_list);
delete c;
delete androidLog;
delete c;
return 0;
}

View File

@ -240,8 +240,8 @@ int main() {
usleep(2000000); // 2 secs
}
delete c;
delete publisher;
delete c;
return 0;
}