HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8e0fb1
)
Pauser: if two consecutive blocks both used Pauser, paused_block would be overwritten...
origin/fix/Pauser
author
Michael Moon
<triffid.hunter@gmail.com>
Wed, 12 Feb 2014 01:12:56 +0000
(12:12 +1100)
committer
Michael Moon
<triffid.hunter@gmail.com>
Wed, 12 Feb 2014 01:13:04 +0000
(12:13 +1100)
src/libs/Pauser.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/libs/Pauser.cpp
b/src/libs/Pauser.cpp
index
65712f0
..
87bb321
100644
(file)
--- a/
src/libs/Pauser.cpp
+++ b/
src/libs/Pauser.cpp
@@
-49,8
+49,9
@@
void Pauser::release(){
THEKERNEL->call_event(ON_PLAY, &this->counter);
if (paused_block)
{
-
paused_block->release()
;
+
Block* tmp = paused_block
;
paused_block = NULL;
+ tmp->release();
}
}
}