fix a NullReferenceException this time...

this thing is getting annoying now
This commit is contained in:
CasualPokePlayer 2023-01-26 04:32:53 -08:00
parent 0170d8f0f0
commit 66282a25aa
1 changed files with 2 additions and 2 deletions

View File

@ -810,11 +810,11 @@ namespace BizHawk.Client.EmuHawk
Render();
IDisposable raMemHack = (RA as RAIntegration)?.ThisIsTheRAMemHack();
var raMemHack = (RA as RAIntegration)?.ThisIsTheRAMemHack();
CheckMessages();
if (RA is RAIntegration) raMemHack!.Dispose();
if (RA is not null) raMemHack?.Dispose();
if (_exitRequestPending)
{