waiting goroutine with an infinite loop about the stop. It's enough to close stopChan. Moreover it could lead to a deadlock if driver.Stop is called before driver.handleSubprocessExit. Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
waiting goroutine with an infinite loop about the stop. It's enough to close stopChan. Moreover it could lead to a deadlock if driver.Stop is called before driver.handleSubprocessExit. Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>