cococ2d-x 内存问题

从3.0升级到3.11 就回莫名其妙报这个错误:reference count should be greater than 0
是因为3.11改变了内存机制了么?
我需要怎么做?