Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
iBicha committed May 27, 2024
1 parent 057b1fa commit 91a62cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- A clock to show the time

### Fixed

- Attempt to fix a race condition when closing player

## [0.23.6] - 2024-05-23

### Added
Expand Down
2 changes: 1 addition & 1 deletion playlet-lib/src/components/VideoPlayer/SponsorBlock.bs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace SponsorBlock

function OnSponsorBlockTaskResults(output as object) as void
m.sponsorBlockTask = invalid
if output.cancelled
if output.cancelled or m.onCloseCalled = true
return
end if

Expand Down
2 changes: 1 addition & 1 deletion playlet-lib/src/components/VideoPlayer/VideoPlayer.bs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ end function

function OnVideoContentTaskResults(output as object) as void
m.videoContentTask = invalid
if output.cancelled
if output.cancelled or m.onCloseCalled = true
return
end if

Expand Down

0 comments on commit 91a62cd

Please sign in to comment.