Discord Wrapper crash upon launching deck editor
opened this issue · comments
When launching the deck editor, a styled crash window is displayed containing this trace:
System.NullReferenceException: Object reference not set to an instance of an object.
at Octgn.Core.DiscordIntegration.DiscordWrapper.Dispose(Boolean disposing) in K:\OCTGN\octgnFX\Octgn.Core\DiscordIntegration\DiscordWrapper.cs:line 164
at Octgn.Core.DiscordIntegration.DiscordWrapper.Finalize() in K:\OCTGN\octgnFX\Octgn.Core\DiscordIntegration\DiscordWrapper.cs:line 172
The cause of the crash is an attempt to dispose the null _discord value. The constructor call to create a Discord object fails on this machine with the helpful result "InternalError". It may be because I do not have the electron Discord client installed.