Open EgilSandfeld opened 1 year ago
The crash log above happened within 1 second of the app starting up, however I just received one now, with the similar stacktrace happened 34170 seconds into the app session..
Calling code to set up subscribers:
private void SubscribeKeyboard()
{
try
{
if (_appKeyboard == null)
{
_appKeyboard = Hook.AppEvents();
_appKeyboard.KeyDown += AppKeyboardDown;
}
if (_keyboard == null)
{
_keyboard = Hook.GlobalEvents();
_keyboard.KeyPress += KeyboardKeyPress;
_keyboard.KeyDown += (sender, args) => Core.Dispatcher.OnKeyboardDown?.Invoke(sender, args);
_keyboard.KeyUp += (sender, args) => Core.Dispatcher.OnKeyboardUp?.Invoke(sender, args);
}
}
catch (Exception ex)
{
DB.AddBugInfo(ex);
}
}
I believe Hook.GlobalEvents(); call is the one facilitating the later crashes.
Can a missing System.Reactive.dll be the cause of this? So when the user presses a key, the missing dll causes the above stack?
Had a crash from one end-user of my app: Any ideas how this was caused?
.NET Framework 4.8 app