fix bad unmanaged memory leak
This commit is contained in:
parent
c1d99ae03e
commit
e114da8868
|
@ -176,6 +176,11 @@ namespace BizHawk.MultiClient
|
|||
MessageFont.Dispose();
|
||||
MessageFont = null;
|
||||
}
|
||||
if (Device != null)
|
||||
{
|
||||
Device.Dispose();
|
||||
Device = null;
|
||||
}
|
||||
}
|
||||
|
||||
public void CreateDevice()
|
||||
|
|
Loading…
Reference in New Issue