]> Pileus Git - grits/commit
Fix bugs in GritsPlugins
authorAndy Spencer <andy753421@gmail.com>
Sat, 22 Jan 2011 20:03:11 +0000 (20:03 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 22 Jan 2011 20:24:04 +0000 (20:24 +0000)
commite7236ae3ba98377fe351d083fcd20c9d0899512e
tree4bd77ab9a7a24b2d347241f0be26635997fbc763
parent728d24822cd0836e97e4591f561a72f948dc45a7
Fix bugs in GritsPlugins

1. Properly track module references
2. Flush events before unloading the module

This prevents the case where the module unloaded while there are still
callbacks that reference the modules executable code.
src/grits-plugin.c