From d441e93bbc961176f9b137054dcc3b00c15a8fb0 Mon Sep 17 00:00:00 2001 From: adit Date: Sat, 5 Jan 2019 21:58:18 +0530 Subject: [PATCH] Added comment about layout thread exit workflow(Specifically:when will a Exit message be received ) Added comment about layout thread exit workflow Comments Regarding clarify layout-thread exit workflow (Specifically:when will a Exit message be received ) Added comment about layout thread exit workflow --- components/layout_thread/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index 9b6e801979b..190f79d8d05 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -789,6 +789,7 @@ impl LayoutThread { self.prepare_to_exit(response_chan); return false; }, + // Receiving the Exit message at this stage only happens when layout is undergoing a "force exit". Msg::ExitNow => { debug!("layout: ExitNow received"); self.exit_now();