Unregister the module log domain on shutdown of the engine.
authorChristopher Michael <cp.michael@samsung.com>
Thu, 24 Jan 2013 09:14:50 +0000 (09:14 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 24 Jan 2013 09:14:50 +0000 (09:14 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83224

src/modules/evas/engines/wayland_shm/evas_engine.c

index 3215a18..a6ffb7d 100644 (file)
@@ -143,7 +143,9 @@ module_open(Evas_Module *em)
 static void 
 module_close(Evas_Module *em EINA_UNUSED)
 {
-
+   /* if we have the log domain, unregister it */
+   if (_evas_engine_way_shm_log_dom > -1)
+     eina_log_domain_unregister(_evas_engine_way_shm_log_dom);
 }
 
 static Evas_Module_Api evas_modapi =