diff options
Diffstat (limited to 'src/device.go')
-rw-r--r-- | src/device.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.go b/src/device.go index d32d648..1185d60 100644 --- a/src/device.go +++ b/src/device.go @@ -186,6 +186,6 @@ func (device *Device) Close() { close(device.signal.stop) } -func (device *Device) Wait() { - <-device.signal.stop +func (device *Device) WaitChannel() chan struct{} { + return device.signal.stop } |