diff --git a/TJAPlayer3/Common/CPrivateFont.cs b/TJAPlayer3/Common/CPrivateFont.cs index 695c96ef..2bc386d4 100644 --- a/TJAPlayer3/Common/CPrivateFont.cs +++ b/TJAPlayer3/Common/CPrivateFont.cs @@ -1008,6 +1008,12 @@ namespace TJAPlayer3 this._pfc = null; } + if (_fontfamily != null) + { + _fontfamily.Dispose(); + _fontfamily = null; + } + this.bDispose完了済み = true; } } diff --git a/TJAPlayer3/Stages/02.Title/CStageタイトル.cs b/TJAPlayer3/Stages/02.Title/CStageタイトル.cs index 44f63052..8a52ecae 100644 --- a/TJAPlayer3/Stages/02.Title/CStageタイトル.cs +++ b/TJAPlayer3/Stages/02.Title/CStageタイトル.cs @@ -130,7 +130,7 @@ namespace TJAPlayer3 } public override void OnManagedリソースの解放() { - if (!base.b活性化してない) + if (base.b活性化してない) return; TJAPlayer3.t安全にDisposeする(ref Background);