Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/31d98a1d2e5081ef2ca2d941f7e3b92344185399
...commit
http://git.netsurf-browser.org/netsurf.git/commit/31d98a1d2e5081ef2ca2d941f7e3b92344185399
...tree
http://git.netsurf-browser.org/netsurf.git/tree/31d98a1d2e5081ef2ca2d941f7e3b92344185399
The branch, master has been updated
via 31d98a1d2e5081ef2ca2d941f7e3b92344185399 (commit)
from 479c3fd0b50c72632f4ba09dd3a7e93c83298de4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=31d98a1d2e5081ef2ca2d941f7e3b92344185399
commit 31d98a1d2e5081ef2ca2d941f7e3b92344185399
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Core hotlist: Ensure any hotlist save callback is removed on hotlist_fini.
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index 7cae781..3e2fced 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -1368,6 +1368,10 @@ nserror hotlist_fini(void)
LOG("Finalising hotlist");
+ /* Remove any existing scheduled save callback */
+ guit->misc->schedule(-1, hotlist_schedule_save_cb, NULL);
+ hl_ctx.save_scheduled = false;
+
/* Save the hotlist */
err = hotlist_save(hl_ctx.save_path);
if (err != NSERROR_OK) {
-----------------------------------------------------------------------
Summary of changes:
desktop/hotlist.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index 7cae781..3e2fced 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -1368,6 +1368,10 @@ nserror hotlist_fini(void)
LOG("Finalising hotlist");
+ /* Remove any existing scheduled save callback */
+ guit->misc->schedule(-1, hotlist_schedule_save_cb, NULL);
+ hl_ctx.save_scheduled = false;
+
/* Save the hotlist */
err = hotlist_save(hl_ctx.save_path);
if (err != NSERROR_OK) {
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org