(svn r15663) -Fix: growing of vsize as (some) threads weren't properly released.

This commit is contained in:
rubidium 2009-03-10 11:12:03 +00:00
parent 0564d52d99
commit d6f2a65323
1 changed files with 4 additions and 1 deletions

View File

@ -68,7 +68,10 @@ private:
NOT_REACHED();
}
if (self_destruct) delete this;
if (self_destruct) {
pthread_detach(pthread_self());
delete this;
}
}
};