ExtendedTools: Fix unloaded modules window flicker
@@ -78,7 +78,6 @@ BOOLEAN EtpRefreshUnloadedDlls(
HWND lvHandle;
lvHandle = GetDlgItem(hwndDlg, IDC_LIST);
- ListView_DeleteAllItems(lvHandle);
RtlGetUnloadEventTraceEx(&elementSize, &elementCount, &eventTrace);
@@ -145,6 +144,8 @@ BOOLEAN EtpRefreshUnloadedDlls(
ExtendedListView_SetRedraw(lvHandle, FALSE);
+ ListView_DeleteAllItems(lvHandle);
+
for (i = 0; i < capturedElementCount; i++)
{
PRTL_UNLOAD_EVENT_TRACE rtlEvent = currentEvent;
