From 6ce077caf1c6615cdf830b3df705be0e5c2831b5 Mon Sep 17 00:00:00 2001 From: GREAT_BIG_BUSHY_BEARD Date: Fri, 23 Jun 2017 21:10:32 +0100 Subject: [PATCH] Fixed rare exception on exit --- Project-Aurora/Project-Aurora/Profiles/LightingStateManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project-Aurora/Project-Aurora/Profiles/LightingStateManager.cs b/Project-Aurora/Project-Aurora/Profiles/LightingStateManager.cs index 240c5ea80..0f3fce667 100644 --- a/Project-Aurora/Project-Aurora/Profiles/LightingStateManager.cs +++ b/Project-Aurora/Project-Aurora/Profiles/LightingStateManager.cs @@ -749,4 +749,4 @@ public void AddOverlayForDuration(LightEvent overlay_event, int duration, bool i public void Dispose() { - updateTimer.Dispose(); } } } \ No newline at end of file + updateTimer.Dispose(); updateTimer = null; } } } \ No newline at end of file