Skip to content
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

Flush vizInterface outputStream buffer when saving to file #839

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

jackfox25
Copy link
Contributor

  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

When saving vizMessages to a binary file through vizInterface, the outputStream buffer was not being emptied fully. This led to early file truncation. Explicitly flushing the buffer after each sim step resolves this issue.

Verification

Manual inspection of saved binaries, using protobuffer test scenario which will be pushed in a future branch.

Documentation

Updated release notes

Future work

None

@jackfox25 jackfox25 added the bug Something isn't working label Oct 29, 2024
@jackfox25 jackfox25 requested a review from a team as a code owner October 29, 2024 17:00
docs/source/Support/bskReleaseNotes.rst Outdated Show resolved Hide resolved
@jackfox25 jackfox25 force-pushed the feature/viz_bufferflush branch from 9e996f0 to cde3ce1 Compare October 29, 2024 18:36
@jackfox25 jackfox25 merged commit 9594cf2 into develop Oct 29, 2024
9 checks passed
@jackfox25 jackfox25 deleted the feature/viz_bufferflush branch October 29, 2024 20:35
@jackfox25 jackfox25 assigned jackfox25 and unassigned schaubh Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants