From a545ddef177c6bcd75d2e006838687a35393fcce Mon Sep 17 00:00:00 2001
From: Mathias Gumz <akira at fluxbox dot org>
Date: Sun, 23 Oct 2011 11:52:05 +0200
Subject: clean up imlib2 loaders at shutdown

---
 src/FbTk/ImageImlib2.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/FbTk/ImageImlib2.cc b/src/FbTk/ImageImlib2.cc
index 69fc333..0f2ece8 100644
--- a/src/FbTk/ImageImlib2.cc
+++ b/src/FbTk/ImageImlib2.cc
@@ -39,6 +39,8 @@ public:
         for (; it != it_end; it++) {
             imlib_context_free(it->second);
         }
+
+        imlib_flush_loaders();
     }
 };
 typedef ScreenImlibContextContainer::iterator ScreenImlibContext;
-- 
cgit v0.11.2