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

Improve Windows invalidation logging. #882

Merged
merged 1 commit into from
May 5, 2020

Conversation

xStrom
Copy link
Member

@xStrom xStrom commented Apr 28, 2020

I was reviewing the invalidation PR #817 and found room for a bit of improvement.

  • More extensive logging in the Windows platform code.
  • Quit the druid-shell example when the window is closed, like the other druid-shell examples.

@xStrom xStrom added the S-needs-review waits for review label Apr 28, 2020
Copy link
Collaborator

@Zarenor Zarenor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These look like simple updates that improve the logging story here pretty significantly.

Comment on lines +81 to +84
fn destroy(&mut self) {
Application::global().quit()
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks unrelated - I assume this is for some future further additions to this example?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well this invalidate example never quits when the window is closed. The other druid-shell examples quit on window closing. This simple change fixes that.

@xStrom xStrom merged commit f9da61c into linebender:master May 5, 2020
@xStrom xStrom removed the S-needs-review waits for review label May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants