galaxyyao / TouhouGrave

Another version of Touhou Spring(https://github.com/galaxyyao/Touhou-Spring), with some adjustment in rules
3 stars 0 forks source link

Limit access to Game object in UI thread. #27

Closed zeroyao closed 11 years ago

zeroyao commented 11 years ago

Accessing to Game arbitrarily from UI thread may possibly cause race condition. Either duplicate the game object per-frame or lock the Game while flushing commands

zeroyao commented 11 years ago

Done in https://github.com/galaxyyao/TouhouGrave/commit/43c8155d9d4049c95afedb44af9635cdc5235c4d.