MCPcopy Create free account
hub / github.com/axmolengine/axmol / shouldNotLeak

Method shouldNotLeak

tests/cpp-tests/Source/NodeTest/NodeTest.cpp:369–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369void StressTest2::shouldNotLeak(float dt)
370{
371 unschedule("should_not_leak_key");
372 auto sublayer = static_cast<Layer*>(getChildByTag(kTagSprite1));
373 sublayer->removeAllChildrenWithCleanup(true);
374}
375
376std::string StressTest2::subtitle() const
377{

Callers

nothing calls this directly

Calls 2

getChildByTagFunction · 0.85

Tested by

no test coverage detected