Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M1456: Implement MIME Sniffing #4209

Closed
wants to merge 7 commits into from

Addressing issue of receiving on closed channel

  • Loading branch information
djzager committed Dec 5, 2014
commit 1cdb953d12897fcb3d4498c00c4c38fd8695b9de
@@ -207,14 +207,14 @@ impl ResourceManager {

impl ResourceManager {
fn start(&self) {
loop {
match self.from_client.recv() {
Load(load_data) => {
self.load(load_data)
}
Exit => {
break
}
for message in self.from_client.iter() {
match message {
Load(load_data) => {
self.load(load_data);
}
Exit => {
break;
}
}
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.