diff --git a/Qwilight/Compute/DefaultCompute.cs b/Qwilight/Compute/DefaultCompute.cs index fa33e96..85f0e1c 100644 --- a/Qwilight/Compute/DefaultCompute.cs +++ b/Qwilight/Compute/DefaultCompute.cs @@ -980,18 +980,21 @@ _targetHandler.Join(); } } - lock (LoadedCSX) + Task.Run(() => { - if (HasContents) + lock (LoadedCSX) { - AudioSystem.Instance.Stop(this); - AudioSystem.Instance.Close(this, this); - MediaSystem.Instance.Stop(this); - MediaSystem.Instance.Close(this, this); - DrawingSystem.Instance.Close(this); - HasContents = false; + if (HasContents) + { + AudioSystem.Instance.Stop(this); + AudioSystem.Instance.Close(this, this); + MediaSystem.Instance.Stop(this); + MediaSystem.Instance.Close(this, this); + DrawingSystem.Instance.Close(this); + HasContents = false; + } } - } + }); } public void LowerMultiplier() diff --git a/Qwilight/View/Assets/UIAssets.xaml b/Qwilight/View/Assets/UIAssets.xaml index 36d5324..c9cc98a 100644 --- a/Qwilight/View/Assets/UIAssets.xaml +++ b/Qwilight/View/Assets/UIAssets.xaml @@ -234,7 +234,7 @@ -