Changeset [4c63a7bae048d1908f415382f4b01a4147c1796a] by Jocelyn Legault

October 16th, 2009 @ 06:36 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/joce/npp-community/commit/4c63a7bae048d1908f41538...

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