diff --git a/Sources/Plasma/NucleusLib/pnDispatch/plDispatch.cpp b/Sources/Plasma/NucleusLib/pnDispatch/plDispatch.cpp index 16b15897..79401720 100644 --- a/Sources/Plasma/NucleusLib/pnDispatch/plDispatch.cpp +++ b/Sources/Plasma/NucleusLib/pnDispatch/plDispatch.cpp @@ -109,6 +109,8 @@ plDispatch::~plDispatch() void plDispatch::BeginShutdown() { + for (int i = 0; i < fRegisteredExactTypes.Count(); ++i) + delete fRegisteredExactTypes[i]; fRegisteredExactTypes.Reset(); ITrashUndelivered(); }