
Original post:
Hi all. I've noticed for some time now that my app, after it's been running for a few hours, starts to affect the speed and GUI of other apps.

In the gif below, I open a third-party Calc app twice and you can see it opens and draws itself SLOWLY. I then quit my PureBasic app and then open Calc twice more, and it's drawn instantly. I have no idea why my PureBasic app can affect the speed and GUI of others?

I obviously can't post the code here, but it uses threads (with safety on), and the CPU use of my app is never more than 2% in Task Manager. It's not a graphics card issue as the drivers are up to date, and the problem goes away when my app quits.
Anyone ever experienced this sort of thing before? Do you think it may be an API command causing it? Because my app does check the foreground window for info, so maybe I should start looking there? Maybe my code is blocking messages to the foreground window? Is that even possible? Just looking for concept answers at the moment for discussion.
Using PureBasic 6.10 (but also happens with 6.11) on Windows 10 Pro (desktop) and Windows 11 Pro (laptop). Same result on both PCs.
