forked from M-Labs/artiq
coredevice: automatically close on pause
This commit is contained in:
parent
437b37b158
commit
1f50b3428e
|
@ -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]
|
||||
|
|
|
@ -87,6 +87,10 @@ class CommGeneric:
|
|||
The channel is assumed to be opened."""
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
def pause(self):
|
||||
self.close()
|
||||
|
||||
#
|
||||
# Reader interface
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue