When I Compiled this plugin and installed in c::b, I cannot exit C::B normally, I have to kill the process codeblocks.exe in the taskmgr! I am in 32bit system(windows xp)!
I've experienced this on my developing linux system. Then I've reinstalled and thought that it has gone. Now I have updated to the last Ubuntu (64bit) and I can confirm that this bug already exists.
It happens when you use wxAuiManager. If you just use wxAuiNotebook, codeblocks exits normally.
I'm sure the reason of this bug is that the method UnInit() of any wxAuiManager has to be called before destroy them, but wxSmith don't have support for such type of calls right now, so I've tried to solve it within my plugin, but I can't solve the bug. Probably, to fix this bug, modify (add a feature to) wxSmith will be needed.
I don't know when I can fix this bug. Sorry.