操作系统:mac os 10.12.5
Creator: 1.4.2
问题:创建一个场景,在场景的onLoad方法里面调用cc.game.end();真机iphone 6上直接崩溃,之前用按钮触发也崩溃
Success to load scene: db://assets/resources/Scene/StartScene.fire
in ProtocolUser_setActionListener, argc:2.
on user action result: 0, msg: init success.
in ProtocolShare_setResultListener, argc:2.
2017-06-01 19:43:18.937732+0800 KLDS-mobile[830:186796] TalkingDataGA: TalkingData Game Analytics SDK, Version:3.2.10, Type:IOS_Native_SDK
2017-06-01 19:43:18.937907+0800 KLDS-mobile[830:186796] TalkingDataGA: onStart appId:2A58C20BC08D4904AED82F30F005B090, channelId:000000
2017-06-01 19:43:19.236813+0800 KLDS-mobile[830:186796] TalkingDataGA: start a new session
2017-06-01 19:43:19.280945+0800 KLDS-mobile[830:186975] TalkingDataGA: Game start send data
logevent, argc: 1, str: 1001.
2017-06-01 19:43:19.365311+0800 KLDS-mobile[830:186796] TalkingDataGA: onEvent eventId:1001, eventData:(null)
KLDS-mobile(830,0x3b6bfe40) malloc: *** error for object 0x17769a30: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
你期望怎么样呢?
这问题还有啊 1,4我是通过oc提供了一个接口 调abort()函数关闭的
感谢,看来只能这样干了
这个问题在1.5里还有吗?
1.5没试,项目一般稳定的情况下不会随便乱升级的