IsHandledCreated is set to false but during runtime it is set to true? <p><strong>Hi,</strong></p> <p>I have the following code that is runned during Application.Exit : </p> <pre><code> if (InvokeRequired &amp;&amp; this.IsHandleCreated) { this.Invoke(new Action(() =&gt; EndUpdate(Caller))); return; } </code></pre> <p>This throws the exception : <strong>Invoke or BeginInvoke cannot be called on a control until the window handle has been created</strong> but only when application is exeting.</p> <p>The strange part is that when debugger breaks for the error I can see that both InvokeRequired and IsHandledCreated is set to false so im not sure how it manage to get to the internal code(this.Invoke)?</p> <p>In this case I just want to close the application without any exceptions.</p>