fix!: prevent exceptions from being muted

happens by not awaiting tasks
This commit is contained in:
ZavaruKitsu
2022-10-08 20:00:21 +03:00
parent f41fdf90ed
commit f9d25dfb83
9 changed files with 61 additions and 55 deletions
@@ -107,7 +107,7 @@ public class FormBaseMessageLoop : IMessageLoopFactory
}
/// <summary>
/// Will be called if no form handeled this call
/// Will be called if no form handled this call
/// </summary>
public event EventHandler<UnhandledCallEventArgs> UnhandledCall
{
@@ -119,4 +119,4 @@ public class FormBaseMessageLoop : IMessageLoopFactory
{
(_events[EvUnhandledCall] as EventHandler<UnhandledCallEventArgs>)?.Invoke(this, e);
}
}
}
@@ -100,7 +100,7 @@ public class FullMessageLoop : IMessageLoopFactory
}
/// <summary>
/// Will be called if no form handeled this call
/// Will be called if no form handled this call
/// </summary>
public event EventHandler<UnhandledCallEventArgs> UnhandledCall
{
@@ -112,4 +112,4 @@ public class FullMessageLoop : IMessageLoopFactory
{
(_events[EvUnhandledCall] as EventHandler<UnhandledCallEventArgs>)?.Invoke(this, e);
}
}
}
@@ -31,7 +31,7 @@ public class MinimalMessageLoop : IMessageLoopFactory
}
/// <summary>
/// Will be called if no form handeled this call
/// Will be called if no form handled this call
/// </summary>
public event EventHandler<UnhandledCallEventArgs> UnhandledCall
{
@@ -43,4 +43,4 @@ public class MinimalMessageLoop : IMessageLoopFactory
{
(_events[EvUnhandledCall] as EventHandler<UnhandledCallEventArgs>)?.Invoke(this, e);
}
}
}