mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r15663) -Fix: growing of vsize as (some) threads weren't properly released.
This commit is contained in:
parent
0564d52d99
commit
d6f2a65323
@ -68,7 +68,10 @@ private:
|
|||||||
NOT_REACHED();
|
NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self_destruct) delete this;
|
if (self_destruct) {
|
||||||
|
pthread_detach(pthread_self());
|
||||||
|
delete this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user