fix NRE of Trace Logger close, if the Trace Logger was not used before closing
This commit is contained in:
parent
ddbeabf198
commit
f7f6839e6c
|
@ -70,7 +70,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
Closing += (o, e) =>
|
||||
{
|
||||
SaveConfigSettings();
|
||||
Tracer.Sink = null;
|
||||
if (Tracer != null)
|
||||
{
|
||||
Tracer.Sink = null;
|
||||
}
|
||||
|
||||
CloseFile();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue