Skip to content

Commit

Permalink
Merge pull request #177 from matcool/v6
Browse files Browse the repository at this point in the history
Fix reference cycle caused by EditableBMLabelProxy
  • Loading branch information
ninXout authored Feb 13, 2024
2 parents 7167ad9 + 662df72 commit e32bda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/EditableBMLabelProxy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using namespace geode::prelude;
class EditableBMLabelProxy : public CCLabelBMFont, TextInputDelegate {
protected:
Ref<InputNode> m_input = nullptr;
Ref<CCNode> m_inputParent = nullptr;
CCNode* m_inputParent = nullptr;
std::function<void(std::string const&)> m_onSetValue = nullptr;
std::function<void(std::string const&)> m_onUpdate = nullptr;
bool m_ignoreLabelUpdate = false;
Expand Down

0 comments on commit e32bda0

Please sign in to comment.