Skip to content
Discussion options

You must be logged in to vote

#14823

!vouch

@AlJohri I've vouched you if you want to submit your patch as a PR. The only suggestion I have would be to put the flush in the cleanup defer so that it's always run, not just on the remote case.

// The final cleanup that is always required at the end of running.
defer {
// Ensure our timer source is removed
self.stopQuitTimer();
// Sync any remaining settings
gio.Settings.sync();
// Clear out the event loop, don't block.
while (glib.MainContext.iteration(ctx, 0) != 0) {}
// Release the context so something else can use it.
defer glib.…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jcollie
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants