input/TI: avoid UAF in destroy
This commit is contained in:
parent
97c8a2f1cf
commit
8eb3ecc755
2 changed files with 14 additions and 14 deletions
|
|
@ -39,6 +39,8 @@ class CTextInput {
|
|||
void setFocusedSurface(SP<CWLSurfaceResource> pSurface);
|
||||
void initCallbacks();
|
||||
|
||||
void destroy();
|
||||
|
||||
WP<CWLSurfaceResource> m_focusedSurface;
|
||||
int m_enterLocks = 0;
|
||||
WP<CTextInputV3> m_v3Input;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue