Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Commit 05d2d88

Browse files
committed
Fix crash on exit
1 parent 56ad6cd commit 05d2d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XOutput/Devices/GameController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void Dispose()
102102
Stop();
103103
inputDevice.Dispose();
104104
xInput.Dispose();
105-
xOutputInterface.Dispose();
105+
xOutputInterface?.Dispose();
106106
}
107107

108108
/// <summary>

0 commit comments

Comments
 (0)