Bug 51 - Workrave crashes when exiting
Status:
RESOLVED FIXED
Component:
Core :: Win32
Version:
unspecified
Hardware:
PC Windows 2000
Importance:
P3 normal
Target Milestone:
---
Assignee:
Raymond Penners
URL:
Depends on:
Blocks:
Reported:
Sep 9 2002 21:15:09 UTC
by:
Rob Caelers
Modified:
Oct 22 2002 01:56:53 UTC
WhoWhenWhatRemovedAdded
Raymond PennersSep 10 2002 23:39:14 UTCstatusNEWRESOLVED
resolutionFIXED
Description
Rob Caelers  Sep 9 2002 21:15:09 UTC
Sometimes workrave crashes when exiting because mouse_hook_callback==NULL in
harpoon.c:

DWORD WINAPI 
harpoon_thread_proc(LPVOID lpParameter)
...
      case WH_MOUSE:
	  {
	    MOUSEHOOKSTRUCT mhs;
	    ReadFile(mailslot, &mhs, sizeof(mhs), &read, NULL);
	    msg.lparam = (LPARAM) &mhs;    
            (*mouse_hook_callback)(msg.code, msg.wparam, msg.lparam);
Comment 1
Raymond Penners  Sep 10 2002 23:39:14 UTC
Fixed (I hope), please verify.