Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
refactor: use clearMacroStack() instead of clearRunningMacro()
Browse files Browse the repository at this point in the history
  • Loading branch information
reszelaz committed Jun 10, 2021
1 parent 01dec7d commit 2e2fcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sardana/tango/macroserver/Door.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def delete_device(self):
if self.getRunningMacro():
self.debug("aborting running macro")
self.macro_executor.abort()
self.macro_executor.clearRunningMacro()
self.macro_executor.clearMacroStack()

for handler, filter, format in list(self._handler_dict.values()):
handler.finish()
Expand Down

0 comments on commit 2e2fcc2

Please sign in to comment.