forked from M-Labs/artiq
1
0
Fork 0

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) (you may need to replace python3.5 with python)
Please always include the console output when reporting a GUI crash. 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] unreleased [1.0rc3]

View File

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