mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 01:07:58 +01:00
Prevents throwing if MainLoop is null.
This commit is contained in:
@@ -12,7 +12,7 @@ public static partial class Application
|
||||
|
||||
public override void Post (SendOrPostCallback d, object state)
|
||||
{
|
||||
MainLoop.AddIdle (
|
||||
MainLoop?.AddIdle (
|
||||
() =>
|
||||
{
|
||||
d (state);
|
||||
|
||||
Reference in New Issue
Block a user