diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2015-05-20 07:10:55 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-05-20 07:10:55 +1000 |
commit | decfb0da6edec9857c304932f3c6fa5ca23b8f07 (patch) | |
tree | b1053d9339e46d37cf18699295f07765d6f16132 | |
parent | 35a570ab66227fb640e64bd50373f1e1a9f51b22 (diff) | |
download | servo-decfb0da6edec9857c304932f3c6fa5ca23b8f07.tar.gz servo-decfb0da6edec9857c304932f3c6fa5ca23b8f07.zip |
Address review comments
-rw-r--r-- | components/script/script_task.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index e291d98e5ee..fcc0615213a 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -1086,7 +1086,6 @@ impl ScriptTask { }); if let Some(idx) = idx { - // TODO(gw): This probably leaks resources! let load = self.incomplete_loads.borrow_mut().remove(idx); // Tell the layout task to begin shutting down, and wait until it @@ -1094,7 +1093,7 @@ impl ScriptTask { let (response_chan, response_port) = channel(); let LayoutChan(chan) = load.layout_chan; if chan.send(layout_interface::Msg::PrepareToExit(response_chan)).is_ok() { - debug!("shutting down layout for root page {:?}", id); + debug!("shutting down layout for page {:?}", id); response_port.recv().unwrap(); chan.send(layout_interface::Msg::ExitNow(exit_type)).ok(); } |