Skip to content

Commit

Permalink
Fix crash when loading games too early
Browse files Browse the repository at this point in the history
  • Loading branch information
sergystepanov committed Jul 9, 2024
1 parent daf6a20 commit e46b739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/worker/caged/libretro/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ func (f *Frontend) Start() {
}
}
f.Shutdown()
f.mui.Unlock()
}()
defer f.mui.Unlock()

if f.HasSave() {
// advance 1 frame for Mupen, DOSBox save states
Expand Down

0 comments on commit e46b739

Please sign in to comment.