Skip to content

Commit

Permalink
Make sure our NSE always commits suicide
Browse files Browse the repository at this point in the history
  • Loading branch information
tmolitor-stud-tu committed Dec 24, 2024
1 parent 206c83d commit e2a2c36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Monal/NotificationService/NotificationService.m
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ -(void) killAppex
[NotificationService setAppexCleanShutdownStatus:YES];

DDLogInfo(@"Now killing appex process, goodbye...");
[HelperTools signalSuspension];
[HelperTools flushLogsWithTimeout:0.100];
exit(0);
}

Expand Down Expand Up @@ -605,7 +605,7 @@ -(void) serviceExtensionTimeWillExpire
#endif

DDLogInfo(@"Committing suicide...");
[HelperTools signalSuspension];
[HelperTools flushLogsWithTimeout:0.100];
exit(0);

/*
Expand Down

0 comments on commit e2a2c36

Please sign in to comment.