cancel time callback request on destruction
Stefan Schuermans

Stefan Schuermans commited on 2011-10-25 18:28:29
Showing 1 changed files, with 3 additions and 0 deletions.

... ...
@@ -47,6 +47,9 @@ Player::Player(CallMgr &callMgr, StreamMgr &streamMgr,
47 47
 /// virtual destructor
48 48
 Player::~Player()
49 49
 {
50
+  // cancel time callback request
51
+  m_callMgr.cancelTimeCall(this);
52
+
50 53
   // free all movies
51 54
   while (!m_playlist.empty()) {
52 55
     m_playlist.back().freeMovie();
53 56