If option
"Automatically re-open previously edited documents" at
File > Options > Editor is enabled and Studio is shut down with Editor view active, following error
"Invoke or BeginInvoke cannot be called on a control until the window handle has been created" is displayed upon startup and the documents are not re-opened.
Please see the screenshot below: