Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
droid.cpp: Fix
DROID
dtor segfault for transports
When a transport has some droids in it while its dtor is being called, the code that frees all droids in its transport group will segfault because each `delete psCurr` will modify the list and hence invalidate the current iterator. Signed-off-by: Pavel Solodovnikov <[email protected]>
- Loading branch information