fix: incorrect code
This commit is contained in:
@@ -204,7 +204,7 @@ RetryCacheCheck:
|
|||||||
Dim Pid As Integer
|
Dim Pid As Integer
|
||||||
If Not Integer.TryParse(File.ReadAllText(LockPath), Pid) Then Return
|
If Not Integer.TryParse(File.ReadAllText(LockPath), Pid) Then Return
|
||||||
Dim Handle = Process.GetProcessById(Pid)?.MainWindowHandle
|
Dim Handle = Process.GetProcessById(Pid)?.MainWindowHandle
|
||||||
If Handle <> Intptr.Zero ShowWindowToTop(Handle)
|
If Handle <> Intptr.Zero Then ShowWindowToTop(Handle)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
'结束
|
'结束
|
||||||
|
|||||||
Reference in New Issue
Block a user