File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ impl NotifyActor {
131
131
let ( entry_tx, entry_rx) = unbounded ( ) ;
132
132
let ( watch_tx, watch_rx) = unbounded ( ) ;
133
133
let processed = AtomicUsize :: new ( 0 ) ;
134
+
134
135
config. load . into_par_iter ( ) . enumerate ( ) . for_each ( |( i, entry) | {
135
136
let do_watch = config. watch . contains ( & i) ;
136
137
if do_watch {
@@ -167,9 +168,13 @@ impl NotifyActor {
167
168
} )
168
169
. unwrap ( ) ;
169
170
} ) ;
171
+
172
+ drop ( watch_tx) ;
170
173
for path in watch_rx {
171
174
self . watch ( & path) ;
172
175
}
176
+
177
+ drop ( entry_tx) ;
173
178
for entry in entry_rx {
174
179
match entry {
175
180
loader:: Entry :: Files ( files) => {
@@ -180,6 +185,7 @@ impl NotifyActor {
180
185
}
181
186
}
182
187
}
188
+
183
189
self . sender
184
190
. send ( loader:: Message :: Progress {
185
191
n_total,
You can’t perform that action at this time.
0 commit comments