Commit 22a4acd4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2206f438
...@@ -197,7 +197,10 @@ func (s *storage) watcher() { ...@@ -197,7 +197,10 @@ func (s *storage) watcher() {
case event, ok := <-s.drvWatchq: case event, ok := <-s.drvWatchq:
if !ok { if !ok {
// XXX storage closed // storage closed
// XXX close all subscribers' watchq?
// XXX AddWatch/DelWatch after watcher exits?
return
} }
// deliver event to all watchers // deliver event to all watchers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment