mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
Add ArgumentNullException.ThrowIfNull.
This commit is contained in:
@@ -184,6 +184,8 @@ public static partial class Application // Initialization (Init/Shutdown)
|
||||
|
||||
internal static void UnsubscribeDriverEvents ()
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull (Driver);
|
||||
|
||||
Driver.SizeChanged -= Driver_SizeChanged;
|
||||
Driver.KeyDown -= Driver_KeyDown;
|
||||
Driver.KeyUp -= Driver_KeyUp;
|
||||
|
||||
Reference in New Issue
Block a user