diff options
author | Connor Brewster <connor.brewster@eagles.oc.edu> | 2016-07-05 14:45:09 -0600 |
---|---|---|
committer | Connor Brewster <connor.brewster@eagles.oc.edu> | 2016-07-08 09:00:59 -0600 |
commit | 315ffe7677d12b6515fe5c3239556cb2117341ee (patch) | |
tree | e23d0810ecbc2b2d37e0736c8e22f1e92fb099f9 /components/script/script_thread.rs | |
parent | b9af49f12093dfacdd3d8831efab4a58bee2e458 (diff) | |
download | servo-315ffe7677d12b6515fe5c3239556cb2117341ee.tar.gz servo-315ffe7677d12b6515fe5c3239556cb2117341ee.zip |
Make network listener runnable cancellable
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 8a7fc82f52e..e115d086956 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -2055,6 +2055,7 @@ impl ScriptThread { let listener = NetworkListener { context: context, script_chan: self.chan.clone(), + wrapper: None, }; ROUTER.add_route(action_receiver.to_opaque(), box move |message| { listener.notify_action(message.to().unwrap()); |