Use normal shutdown infrastructure to hang up active calls
This commit is contained in:
@@ -723,6 +723,11 @@ export async function startApp(): Promise<void> {
|
||||
|
||||
flushMessageCounter();
|
||||
|
||||
// Hangup active calls
|
||||
window.Signal.Services.calling.hangupAllCalls(
|
||||
'background/shutdown: shutdown requested'
|
||||
);
|
||||
|
||||
// Stop background processing
|
||||
void AttachmentDownloads.stop();
|
||||
idleDetector.stop();
|
||||
|
Reference in New Issue
Block a user