Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 159

Bugs & Feature Suggestions • Re: [Bug] Registry measure leaks handles

$
0
0
Ok, well let me do a test build in a few minutes and post it here so you can test with that change suggested earlier.
Great!

I'm wondering something... the Registry measure basically opens the key once when the measure loads and leaves it open. It then just reads during the update event.

Could there be a problem with another process updating that registry key while Rainmeter has it open for reading? In other words, should Rainmeter be doing an "open-query-close" on that key during the update event instead of just a query? Maybe the problem is actually the key being held open while the value is being constantly changed by an external process?

P.S.
Current status:

Code:

Nthandle v5.0 - Handle viewerCopyright (C) 1997-2022 Mark RussinovichSysinternals - www.sysinternals.comHandle type summary:  ALPC Port       : 27  Desktop         : 1  Directory       : 3  EtwRegistration : 216  Event           : 319  File            : 38  IoCompletion    : 30  IRTimer         : 30  Key             : 5220  Mutant          : 79  PcwObject       : 99  Section         : 42  Semaphore       : 124  Thread          : 96  Timer           : 83  TpWorkerFactory : 15  WaitCompletionPacket: 44  WindowStation   : 2  WmiGuid         : 1Total handles: 6469

Statistics: Posted by SilverAzide — Yesterday, 3:18 pm



Viewing all articles
Browse latest Browse all 159

Trending Articles