Ignore:
Timestamp:
Oct 3, 2001, 3:47:59 PM (24 years ago)
Author:
sandervl
Message:

prevent multiple delete actions for the same timer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/winmm/os2timer.cpp

    r5358 r6933  
    1 /* $Id: os2timer.cpp,v 1.18 2001-03-23 16:23:44 sandervl Exp $ */
     1/* $Id: os2timer.cpp,v 1.19 2001-10-03 13:47:58 sandervl Exp $ */
    22
    33/*
     
    225225OS2Timer::OS2Timer() : TimerSem(0), TimerHandle(0), hTimerThread(0),
    226226                  clientCallback(NULL), TimerStatus(Stopped), fFatal(FALSE),
    227                   next(NULL)
     227                  next(NULL), timerID(0)
    228228{
    229229  dprintf(("WINMM:OS2Timer: OS2Timer::OS2Timer(%08xh)\n",
     
    416416              {
    417417                selTIB = SetWin32TIB();
    418                 clientCallback((UINT)this, 0, userData, 0, 0);
     418                clientCallback((UINT)timerID, 0, userData, 0, 0);
    419419                SetFS(selTIB);
    420420              }
Note: See TracChangeset for help on using the changeset viewer.