-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Samples: fix non-terminating samples #600
Conversation
Pull Request Review MarkdownHey there! 👋 Here's a summary of the previous tasks and their results. Let's get started! Changes
Suggestions
BugsThere are no potential bugs found in the code. Improvements
RatingPlease rate the code from 0 to 10 based on the following criteria:
Feel free to provide a brief explanation for your rating. That's it for the summary! If you have any questions or need further assistance, feel free to ask. Good luck with your pull request! 🚀 |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #600 +/- ##
============================================
+ Coverage 49.62% 49.66% +0.04%
- Complexity 6236 6242 +6
============================================
Files 379 379
Lines 37593 37579 -14
Branches 6159 6157 -2
============================================
+ Hits 18654 18663 +9
+ Misses 17710 17692 -18
+ Partials 1229 1224 -5
☔ View full report in Codecov by Sentry. |
ebf3857
to
ca611aa
Compare
chartfx-chart/src/main/java/io/fair_acc/chartfx/utils/SimplePerformanceMeter.java
Outdated
Show resolved
Hide resolved
chartfx-samples/src/main/java/io/fair_acc/sample/chart/PaddedAutoGrowAxisSample.java
Outdated
Show resolved
Hide resolved
...tfx-samples/src/main/java/io/fair_acc/sample/financial/service/SimpleOhlcvReplayDataSet.java
Outdated
Show resolved
Hide resolved
Moved the property updates into the already existing animation timer. Also fixes the ProfilerInfoBox by adding the meter to a visible node.
needed to call the close method on various midi resources. Still not terminating reliably, but at least it now only blocks termination if the sample was shown. I guess we can live with that for now.
ca611aa
to
cea6e52
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There are mainly 3 reasons for the samples not to terminate:
followup of #571, see there for further context