Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Some sample applications do not exit cleanly #239

Open
bjoeris opened this issue May 9, 2022 · 0 comments
Open

Some sample applications do not exit cleanly #239

bjoeris opened this issue May 9, 2022 · 0 comments

Comments

@bjoeris
Copy link
Contributor

bjoeris commented May 9, 2022

Some sample applications (e.g. timeline_semaphore_simple) crash on exit. It looks like part of what is going on is that the main loop has no exit condition, but changing this to match other samples is insufficient (e.g. I tried to change the while (true) to while (!app.should_exit() && !data->WindowClosing()) in "application_sandbox/timeline_semaphore_simple/main.cpp", but this application still crashes, so more investigation is needed.

Just based on the presence of a main loop that never terminates, I think this may impact the following samples (I have not verified that all of these actually crash):

  • external_buffer
  • external_image
  • foreign_buffer
  • present_region
  • synchronization2_timeline_semaphore_simple
  • timeline_sempahore_cross_queue
  • timeline_semaphore_host_signal_after_submit
  • timeline_semaphore_simple
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant