Skip to content

Commit 5c65ce7

Browse files
committed
NetworkTools: Fix geoip updater regression 39417f1
1 parent bf30fcf commit 5c65ce7

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

plugins/NetworkTools/nettools.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@ VOID ShowGeoIPUpdateDialog(
324324
);
325325

326326
// pages.c
327+
328+
extern PH_EVENT InitializedEvent;
329+
327330
VOID ShowDbCheckForUpdatesDialog(
328331
_In_ PPH_UPDATER_CONTEXT Context
329332
);

plugins/NetworkTools/pages.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ HRESULT CALLBACK CheckForUpdatesDbCallbackProc(
4646
switch (uMsg)
4747
{
4848
case TDN_NAVIGATED:
49+
PhSetEvent(&InitializedEvent);
4950
break;
5051
case TDN_BUTTON_CLICKED:
5152
{

plugins/NetworkTools/update.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,8 @@ NTSTATUS GeoIPUpdateDialogThread(
621621
PhDereferenceObject(context);
622622
PhDeleteAutoPool(&autoPool);
623623

624+
PhResetEvent(&InitializedEvent);
625+
624626
return STATUS_SUCCESS;
625627

626628
//SHELLEXECUTEINFO info = { sizeof(SHELLEXECUTEINFO) };

0 commit comments

Comments
 (0)