Title: Events called by SongPlayer's loop can't be cancelled · Issue #55 · koca2000/NoteBlockAPI · GitHub
Open Graph Title: Events called by SongPlayer's loop can't be cancelled · Issue #55 · koca2000/NoteBlockAPI
X Title: Events called by SongPlayer's loop can't be cancelled · Issue #55 · koca2000/NoteBlockAPI
Description: When an event is called from SongPlayer's loop which is in async thread it can't be cancelled. Affected events are: SongLoopEvent and SongDestroyingEvent. SongPlayer also continues playing the Song without waiting for event listeners of ...
Open Graph Description: When an event is called from SongPlayer's loop which is in async thread it can't be cancelled. Affected events are: SongLoopEvent and SongDestroyingEvent. SongPlayer also continues playing the Song...
X Description: When an event is called from SongPlayer's loop which is in async thread it can't be cancelled. Affected events are: SongLoopEvent and SongDestroyingEvent. SongPlayer also continues playing ...
Opengraph URL: https://github.com/koca2000/NoteBlockAPI/issues/55
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Events called by SongPlayer's loop can't be cancelled","articleBody":"When an event is called from `SongPlayer`'s loop which is in async thread it can't be cancelled. Affected events are: `SongLoopEvent` and `SongDestroyingEvent`.\r\n\r\nSongPlayer also continues playing the Song without waiting for event listeners of events bellow to finish their execution. Affected events are: `SongStoppedEvent`, `SongNextEvent` and `SongEndEvent`. For example when `SongPlayer` is paused in `SongNextEvent` it plays first few notes of the next `Song` before it's paused.\r\n\r\nIt is caused by schedulling the events execution in order to execute them in synchronized thread (not async with server main thread).","author":{"url":"https://github.com/koca2000","@type":"Person","name":"koca2000"},"datePublished":"2020-08-22T23:13:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/55/NoteBlockAPI/issues/55"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6f7a13c6-5b54-c69b-cb42-a4935a9b1365 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD8A:1793A:72AAAD:964718:698D6702 |
| html-safe-nonce | a510c74c4b2209f6ac4a96fdf18ac7373898d3a9ca59b95a5df803c08a07a68a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDhBOjE3OTNBOjcyQUFBRDo5NjQ3MTg6Njk4RDY3MDIiLCJ2aXNpdG9yX2lkIjoiOTEwOTYzODI1OTQ5NTc1NzU3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe22c8c9dc3abf690ec2ae2696858da33ef8d88fe7668afa56c0ba8bcec98e06 |
| hovercard-subject-tag | issue:684083016 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/koca2000/NoteBlockAPI/55/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4736b07b0ca7cbb8096864da8455418674829b5d99ea4986fd729d3f0ef72e50/koca2000/NoteBlockAPI/issues/55 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4736b07b0ca7cbb8096864da8455418674829b5d99ea4986fd729d3f0ef72e50/koca2000/NoteBlockAPI/issues/55 |
| og:image:alt | When an event is called from SongPlayer's loop which is in async thread it can't be cancelled. Affected events are: SongLoopEvent and SongDestroyingEvent. SongPlayer also continues playing the Song... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | koca2000 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| turbo-cache-control | no-preview |
| go-import | github.com/koca2000/NoteBlockAPI git https://github.com/koca2000/NoteBlockAPI.git |
| octolytics-dimension-user_id | 18701595 |
| octolytics-dimension-user_login | koca2000 |
| octolytics-dimension-repository_id | 58212955 |
| octolytics-dimension-repository_nwo | koca2000/NoteBlockAPI |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58212955 |
| octolytics-dimension-repository_network_root_nwo | koca2000/NoteBlockAPI |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 715890fa442134f528fb422ab338c0ad55c7a025 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width