MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / close

Method close

Source/PopupLayer.cpp:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void PopupLayer::close()
110{
111 this->runAction(Sequence::create(DelayTime::create(0), CallFunc::create([this]() {
112 Director::getInstance()->getEventDispatcher()->removeEventListenersForTarget(this);
113 this->removeFromParent();
114 }), nullptr));
115}

Callers 12

keyBackClickedMethod · 0.95
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
onNextMethod · 0.45
initMethod · 0.45

Calls 1

createFunction · 0.85

Tested by

no test coverage detected