From e58ce7d59ba70b227f7dffa72c9ac2566e3668b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 27 Jun 2015 11:00:06 +0200 Subject: [PATCH] stop music and video when disposing the world --- OpenRA.Game/World.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Game/World.cs b/OpenRA.Game/World.cs index 0cd3e089e8..89dd4dd561 100644 --- a/OpenRA.Game/World.cs +++ b/OpenRA.Game/World.cs @@ -387,6 +387,9 @@ namespace OpenRA frameEndActions.Clear(); + Sound.StopMusic(); + Sound.StopVideo(); + // Dispose newer actors first, and the world actor last foreach (var a in actors.Reverse()) a.Dispose();