Skip to content

Commit

Permalink
Fix second typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Nov 3, 2024
1 parent 002ca70 commit 8462fd2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,13 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
}
}
break;
}

case WM_DESTROY:
PostQuitMessage(0);
return 0;
}

return DefWindowProc(hwnd, uMsg, wParam, lParam);
}

void stop_monitoring()
Expand Down

0 comments on commit 8462fd2

Please sign in to comment.