wayland: fix a panic during initialization
This commit is contained in:
1 parent
9ddc2da625
commit
48a3674c9a
1 file changed
+1
-1
@@ -355,6 +355,7 @@ impl WindowCallbacks for TermWindow {
|
||||
config::wezterm_version(),
|
||||
);
|
||||
self.render_state.replace(gl);
|
||||
Self::start_periodic_maintenance(window.clone());
|
||||
}
|
||||
Err(err) => {
|
||||
log::error!("failed to create OpenGLRenderState: {}", err);
|
||||
@@ -527,7 +528,6 @@ impl TermWindow {
|
||||
)?;
|
||||
|
||||
Self::apply_icon(&window)?;
|
||||
Self::start_periodic_maintenance(window.clone());
|
||||
Self::setup_clipboard(&window, mux_window_id, clipboard_contents);
|
||||
|
||||
crate::update::start_update_checker();
|
||||
|
||||
Reference in new issue
Block a user