projects
/
framework
/
osp
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c62a711
)
fixed bug (CursorTimer leak)
author
Chulheon
<ch.jeong47@samsung.com>
Fri, 1 Nov 2013 05:27:53 +0000
(14:27 +0900)
committer
Chulheon
<ch.jeong47@samsung.com>
Fri, 1 Nov 2013 05:36:10 +0000
(14:36 +0900)
Change-Id: Ib49c9311419695b38f949dd398b655e9eee73c4a
src/ui/controls/FUiCtrl_EditPresenter.cpp
patch
|
blob
|
history
diff --git
a/src/ui/controls/FUiCtrl_EditPresenter.cpp
b/src/ui/controls/FUiCtrl_EditPresenter.cpp
index
1a28adb
..
154527f
100644
(file)
--- a/
src/ui/controls/FUiCtrl_EditPresenter.cpp
+++ b/
src/ui/controls/FUiCtrl_EditPresenter.cpp
@@
-7214,6
+7214,13
@@
_EditPresenter::OnFocusLost(void)
ReplaceTextIntoPasswordHyphenString();
+ if (__pCursorTimer)
+ {
+ __pCursorTimer->Cancel();
+ delete __pCursorTimer;
+ __pCursorTimer = null;
+ }
+
__pEdit->Invalidate();
return true;
@@
-8991,7
+8998,13
@@
_EditPresenter::OnCursorTimerExpired(void)
{
if (!IsCurrentFocused() || __isCursorDisabled)
{
- StopCursorTimer();
+ if (__pCursorTimer)
+ {
+ __pCursorTimer->Cancel();
+ delete __pCursorTimer;
+ __pCursorTimer = null;
+ }
+
return;
}