mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-10-05 23:39:28 +00:00
Implemented fix for Sender never dropping Special thanks to: mbrubeck
This commit is contained in:
parent
a0b12fc4a2
commit
f732e7cb0d
|
@ -155,6 +155,7 @@ fn count_files(mut language_tuple: (&LanguageType, &mut Language)) {
|
|||
rs_ret_error!(rs_ret_error!(synced_tx.lock()).send(stats));
|
||||
});
|
||||
|
||||
drop(synced_tx);
|
||||
for stat in rx {
|
||||
**language += stat;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue