Changeset [f29cf2e146ccc7befa57d06b9942a9dddebfaa2b] by Jocelyn Legault

October 16th, 2009 @ 04:57 AM

Gripper: Remove any modifications post destruction.

  • Gripper is a suicidal class and we need to make sure no modification to the class take place after the destructor is called. Doing so screws up the heap. (See case WM_LBUTTONUP, WM_NCLBUTTONUP and DMM_CANCEL_MOVE in Gripper::runProc(.))

  • The self pointer passed as parameter in Gripper::startGrip is removed since it was redundant.

Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/joce/npp-community/commit/f29cf2e146ccc7befa57d06...

Committed by Jocelyn Legault

  • M PowerEditor/src/WinControls/DockingWnd/DockingCont.cpp
  • M PowerEditor/src/WinControls/DockingWnd/DockingManager.cpp
  • M PowerEditor/src/WinControls/DockingWnd/Gripper.cpp
  • M PowerEditor/src/WinControls/DockingWnd/Gripper.h
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Notepad++ Community Release

Shared Ticket Bins