Fix panic in background thread
This commit is contained in:
parent
c98b48586f
commit
970b07fa58
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ impl AppData {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CaptureSource::Workspace(_, output) => {
|
CaptureSource::Workspace(_, output) => {
|
||||||
if let Some(name) = &self.output_state.info(&output).unwrap().name {
|
if let Some(name) = &self.output_state.info(&output).and_then(|x| x.name) {
|
||||||
self.capture_filter.workspaces_on_outputs.contains(name)
|
self.capture_filter.workspaces_on_outputs.contains(name)
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue