Changeset [cdeddfb4462381d7743fc17bd7f038b44892b2e0] by Jocelyn Legault

October 21st, 2009 @ 04:45 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/cdeddfb4462381...

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