fix: Remove bad assert statement in SparkWindow

Bugs (fixed):
   * PNL window crashes on open
This commit is contained in:
John Colvin committed 2022-01-27 12:58:08 -05:00
1 parent 95f638175d
commit 39d7ab0b76
1 file changed
+1 -2
+1 -2
View File
@@ -193,9 +193,8 @@ namespace bts.spark {
public string thread_id { get; }
public void thread_init() {
Log.assert(_thread_init != null, "Thread init has already been executed.");
Log.notnull(_thread_init, "Thread init has already been executed.");
(_content, _commands, _get_save_state, _ui_thread_dispose) = _thread_init();
Log.isnull(_ui_thread_dispose);
_thread_init = null;
}