Function stop_thread_dispatch
Source pub fn stop_thread_dispatch()
Expand description
Break the events loop running on the current thread
129 fn exit(&self) {
130 nwg::stop_thread_dispatch();
131 }
More examples
Hide additional examples
20 fn exit(&self) {
21 nwg::stop_thread_dispatch();
22 }
examples/flexbox_sub_layout.rs (
line 22)
21 fn exit(&self) {
22 nwg::stop_thread_dispatch();
23 }
73 fn exit(&self) {
74 nwg::stop_thread_dispatch();
75 }
40 fn exit(&self) {
41 nwg::stop_thread_dispatch();
42 }
61 fn exit(&self) {
62 let handlers = self.handlers.borrow();
63 for handler in handlers.iter() {
64 nwg::unbind_event_handler(&handler);
65 }
66
67 nwg::stop_thread_dispatch();
68 }
Additional examples can be found in: