阅读背景:

静态变量未初始化 - 有时?

来源:互联网 

I have a game with puzzles. Puzzles are created from script files using a puzzle engine ID. Puzzle engines register themselves using a static variable in a static hash. I'm having reports of crashes and we've tracked down the problem to the hash not having certain keys, which should have been added by the static functions.I have a game with puzzles. Puzzles are created




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: