[gedit/gnome-3-38] Fixes #407: Huge CPU consumption when a folder with content is deleted
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-38] Fixes #407: Huge CPU consumption when a folder with content is deleted
- Date: Sat, 27 Mar 2021 17:11:34 +0000 (UTC)
commit 8638c3d1b8136a690f9d0a6b661b9a24fbe4c52e
Author: Jordi Mas <jmas softcatala org>
Date: Sun Mar 21 22:07:05 2021 +0100
Fixes #407: Huge CPU consumption when a folder with content is deleted
plugins/filebrowser/gedit-file-browser-store.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/plugins/filebrowser/gedit-file-browser-store.c b/plugins/filebrowser/gedit-file-browser-store.c
index 6a5ccaf94..abb0f7d15 100644
--- a/plugins/filebrowser/gedit-file-browser-store.c
+++ b/plugins/filebrowser/gedit-file-browser-store.c
@@ -3432,6 +3432,11 @@ delete_file_finished (GFile *file,
async_data_free (data);
return;
}
+ else
+ {
+ /* Process the next file */
+ data->iter = data->iter->next;
+ }
}
/* Continue the job */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]