linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
454 stars 85 forks source link

added method to cancel file loading before closing tab (#637) #644

Closed BanceDev closed 4 months ago

BanceDev commented 5 months ago

In order to address the issue of the xed program continuing to use computer resources while closing a tab/the application while one or more tabs are in the loading state a new method _xed_tab_cancel_load was created and is called in xed-notebook.

Fixes issue #637

See video below to show how the new functionality is reflected in the activity monitor: https://github.com/linuxmint/xed/assets/103229880/a3c0f921-b520-4a20-8005-47dd546c66dd