mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Usage of EmptyWorkingSet now via the configuration, so we don't use it for all people.
This commit is contained in:
parent
9cc485243f
commit
9aefc90460
3 changed files with 22 additions and 14 deletions
|
@ -77,6 +77,10 @@ namespace Greenshot.Helpers {
|
|||
_windows = null;
|
||||
_selectedCaptureWindow = null;
|
||||
_capture = null;
|
||||
// Empty working set after capturing
|
||||
if (conf.MinimizeWorkingSetSize) {
|
||||
PsAPI.EmptyWorkingSet();
|
||||
}
|
||||
}
|
||||
public static void CaptureClipboard() {
|
||||
using (CaptureHelper captureHelper = new CaptureHelper(CaptureMode.Clipboard)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue