From 323d1cd0cac6c24fb0d7149dfadc03ae0bc5d62d Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Fri, 24 Nov 2017 05:52:47 +0100 Subject: [PATCH] Stop sound when closing --- Sources/VLDocument.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/VLDocument.mm b/Sources/VLDocument.mm index 081d749..88100b9 100644 --- a/Sources/VLDocument.mm +++ b/Sources/VLDocument.mm @@ -145,7 +145,9 @@ - (void) close { - [super close]; + VLSoundOut::Instance()->Stop(false); + + [super close]; } - (void) dealloc