mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 20:03:53 +08:00
fix wrong order of cleanup calls (#1461)
This commit is contained in:
@@ -64,8 +64,8 @@ int main() {
|
||||
|
||||
android_logger_list_close(logger_list);
|
||||
|
||||
delete c;
|
||||
delete androidLog;
|
||||
delete c;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -240,8 +240,8 @@ int main() {
|
||||
usleep(2000000); // 2 secs
|
||||
}
|
||||
|
||||
delete c;
|
||||
delete publisher;
|
||||
delete c;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user