forked from TrueCloudLab/distribution
Merge pull request #154 from noxiouz/fix_deinitialization_deadlock
[IPC/Client] Get rid of an unnecessary stopChan sending
This commit is contained in:
commit
d224eda04c
1 changed files with 0 additions and 1 deletions
|
@ -158,7 +158,6 @@ func (driver *StorageDriverClient) Stop() error {
|
||||||
killErr = driver.subprocess.Process.Kill()
|
killErr = driver.subprocess.Process.Kill()
|
||||||
}
|
}
|
||||||
if driver.stopChan != nil {
|
if driver.stopChan != nil {
|
||||||
driver.stopChan <- struct{}{}
|
|
||||||
close(driver.stopChan)
|
close(driver.stopChan)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue