Changeset [95efc7259bbec0bc7cb5b5f0ed59010084da26b1] by Jocelyn Legault

October 26th, 2009 @ 04:14 PM

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/npp-community/npp-community/commit/95efc7259bbec0...

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