Skip to content

Commit d31c392

Browse files
committed
Fixed #13, Logger class variable not set
- Fixed an NRE because the Logger object was not set for the class. It now refers to the instance in WinNUT.
1 parent 19b62b1 commit d31c392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WinNUT_V2/WinNUT_GUI/Update_Gui.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Imports WinNUT_Globals = WinNUT_Client_Common.WinNUT_Globals
1616
Public Class Update_Gui
1717

1818
Private ChangeLogByteSize As Long
19-
Public Shared WithEvents LogFile As Logger
19+
Private LogFile As Logger = WinNUT.LogFile
2020
Private Const GitApiURL As String = "https://api.github.com/repos/nutdotnet/WinNUT-Client/releases"
2121
Private WithEvents WebC As New System.Net.WebClient
2222
Private JSONReleaseFile As Object

0 commit comments

Comments
 (0)