1
0
mirror of synced 2025-01-19 01:24:08 +01:00

メモリリークの修正 (#439)

This commit is contained in:
Takkkom 2023-02-26 10:15:35 +09:00 committed by GitHub
parent a66c1aaa0f
commit 9e5fcbc103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -1008,6 +1008,12 @@ namespace TJAPlayer3
this._pfc = null;
}
if (_fontfamily != null)
{
_fontfamily.Dispose();
_fontfamily = null;
}
this.bDispose完了済み = true;
}
}

View File

@ -130,7 +130,7 @@ namespace TJAPlayer3
}
public override void OnManagedリソースの解放()
{
if (!base.b活性化してない)
if (base.b活性化してない)
return;
TJAPlayer3.t安全にDisposeする(ref Background);