glib (run-glib-cleanups): Run cleanups without-interruption.
authorMatt Birkholz <matt@birchwood-abbey.net>
Sun, 11 Mar 2018 21:15:51 +0000 (14:15 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Sun, 11 Mar 2018 21:15:51 +0000 (14:15 -0700)
src/glib/glib.scm

index 6dd3719820a587221cc0a36ca8cb0a0894f08e86..252fa05800eb280b52fd560299bad25aa0043a69 100644 (file)
@@ -152,7 +152,9 @@ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
            (loop (cdr alist) alist)
            (let ((thunk (weak-cdr (car alist)))
                  (next (cdr alist)))
-             (with-glib-error-handler "this GLib cleanup" thunk)
+             (with-glib-error-handler
+              "this GLib cleanup"
+              (lambda () (without-interruption thunk)))
              (if prev
                  (set-cdr! prev next)
                  (set! glib-cleanups next))