summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index ad13ef1..5b3f397 100644
--- a/src/main.c
+++ b/src/main.c
@@ -484,8 +484,6 @@ int main(int argc, char **argv)
remember_gtypes_for_leaks();
#endif
- exit_all_plugins();
-
#ifdef INCLUDE_GTK_SUPPORT
if (!batch_mode)
@@ -506,6 +504,8 @@ int main(int argc, char **argv)
dump_remaining_gtypes();
#endif
+ exit_all_plugins();
+
done:
return result;