1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 00:42:45 +01:00

(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

View File

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