Skip to content

Commit

Permalink
god i'm stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaNeverUsed committed Oct 16, 2022
1 parent 0b6f8e1 commit b523944
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ODTKRA/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ int main(int argc, char* argv[])
{
Sleep(60000);
if (GetTickCount() - GetIdleTime() > 54000 && GetTickCount() - last_time_restarted > 1800000) {
killODT(0);
start_ODT(hWindowHandle, Target_window_Name); //restart ODT becuase it has a fucking memory leak
std::cout << "ODT restarted at " << st.wHour << ":" << st.wMinute << std::endl;

Expand Down

0 comments on commit b523944

Please sign in to comment.