jwm Registered User |
Quote
|
2008-06-25 20:32:30 |
|
I am writing an irrEdit plugin, and have been encountering a crash when running a debug-build of my DLL, compiled with Visual Studio Express 2008.
In the exampleGamePlugin irrEditServices is dropped in the destructor, but I have found that if I do the same in my DLL a crash occurs whenever I close irrEdit. My guess is that the irrEditServices is destructed before the destructor of the plugin is called.
Is this a bug in irrEdit, or should I not be attempting to drop() the services when my plugin is destructed?
|
niko Moderator |
Quote
|
2008-07-01 17:07:39 |
|
it will crash if you haven't grabbed that interface before. Don't drop it if you are not grabbing it.
|