Fixed NullReferenceException in App.Runtime.

This commit is contained in:
Riley McArdle
2011-05-31 16:57:25 -05:00
parent d3130f91d1
commit 3ec52987eb

View File

@@ -385,8 +385,10 @@ Namespace App
Try
LastSQLUpdate = Nothing
RemoveHandler Tools.Misc.SQLUpdateCheckFinished, AddressOf SQLUpdateCheckFinished
tmrSqlWatcher.Stop()
tmrSqlWatcher.Close()
If tmrSqlWatcher IsNot Nothing Then
tmrSqlWatcher.Stop()
tmrSqlWatcher.Close()
End If
Catch ex As Exception
End Try
End Sub