cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.24k stars 7.06k forks source link

Strange log at startup when running on Mac OS X #16682

Open minggo opened 8 years ago

minggo commented 8 years ago

Steps to Reproduce:

  1. run cpp-empty-test on Mac
  2. will see the message at startup
2016-10-12 10:06:41.767496 cpp-empty-test Mac[29468:15584648] [General] ERROR: Setting <private> as the first responder for window <private>, but it is in a different window ((null))! This would eventually crash when the view is freed. The first responder will be set to nil.
<private>

Haven't met any crash, but i may be a potential issue.

slackmoehrle commented 8 years ago

Happens when running the whole cpp-tests, not just empty.

2016-10-12 10:07:06.055058 cpp-tests Mac[20988:1902238] [General] ERROR:
 Setting <private> as the first responder for window private, but it is in a 
different window ((null))! This would eventually crash when the view is freed. 
The first responder will be set to nil. 
<private>