CodeDead/MemPlus

Crashes at automatic cleanup

DotNetDevlll opened this issue · 3 comments

Hy,
First of all thank you for this awesome app!

When i click manually to cleanup memory it works fine, but the automatic one is always crashes.
(The app simply exit, no error message shown)
Version:1.3.2.0

image

Thank you for pointing that out and apologies for the delay. We have identified an issue with that feature and a fix is on the way!

Cause (only when called from the timer due to the nature of their implementation / threading):
https://github.com/CodeDead/MemPlus/blob/master/MemPlus/Business/RAM/RamController.cs#L284

Solution:
user32.dll API call OpenClipboard followed by EmptyClipboard and lastly CloseClipboard

This bug has been fixed in the following commit:
d749101

The fix will be publicly available in version 1.4. Thank you for reporting this issue!