Re: C++ and static deallocators in Lua cause crash
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: C++ and static deallocators in Lua cause crash
- From: "Wim Couwenberg" <wim.couwenberg@...>
- Date: 2007年12月30日 13:29:13 +0100
Hi,
does this happen at process exit? In other words, is the lua_close(L)
triggered by some destructor of a global object? If so, you have to
be careful about the order in which global objects are destructed.
(I ask because you suspect that a static member gets destructed.)
--
Wim