2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

coredevice: automatically close on pause

This commit is contained in:
Sebastien Bourdeauducq 2016-04-12 15:46:21 +08:00
parent 437b37b158
commit 1f50b3428e
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,8 @@ unreleased [2.x]
(you may need to replace python3.5 with python)
Please always include the console output when reporting a GUI crash.
* Closing the core device communications before pausing is done automatically.
Experiments no longer need to do it explicitly.
unreleased [1.0rc3]

View File

@ -87,6 +87,10 @@ class CommGeneric:
The channel is assumed to be opened."""
raise NotImplementedError
def pause(self):
self.close()
#
# Reader interface
#