summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/timer_symbian.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/src/pj/timer_symbian.cpp')
-rw-r--r--pjlib/src/pj/timer_symbian.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/pjlib/src/pj/timer_symbian.cpp b/pjlib/src/pj/timer_symbian.cpp
index 20fc85b3..b61e667d 100644
--- a/pjlib/src/pj/timer_symbian.cpp
+++ b/pjlib/src/pj/timer_symbian.cpp
@@ -78,8 +78,7 @@ CPjTimerEntry::CPjTimerEntry(pj_timer_heap_t *timer_heap,
CPjTimerEntry::~CPjTimerEntry()
{
- if (IsActive())
- Cancel();
+ Cancel();
rtimer_.Close();
}