Skip to content

Commit

Permalink
fixed unlocking
Browse files Browse the repository at this point in the history
  • Loading branch information
canislupaster committed Nov 18, 2018
1 parent 82a8085 commit 682c5ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions res/ddm.tis
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ function DragDrop(def)

// Be polite with the GC:
dd_target = dd_placeholder_src = dd_placeholder_dst = dd_source = null;

//EDITED
locked = false;
}

// init-loop-commit:
Expand Down Expand Up @@ -622,9 +625,6 @@ function DragDrop(def)
function ddShutdown() { // cancel DD loop and remove traces of this DragDrop call.
ddCancel();
self.unsubscribe(mouseEventMonitor);

//EDITED
locked = false;
}

self.subscribe(mouseEventMonitor, Event.MOUSE);
Expand Down
Binary file modified src/resources.rc
Binary file not shown.

0 comments on commit 682c5ac

Please sign in to comment.