Skip to content
Snippets Groups Projects
Commit 34a96c03 authored by Colin Walters's avatar Colin Walters
Browse files

console: Fix g_auto() and unlock cleanup

This way, one can unlock the console while still using the cleanup
macro.  Otherwise we miss a lot of the ergonomics of cleanup macros.
parent aac5a6ce
No related branches found
No related tags found
No related merge requests found
...@@ -285,5 +285,5 @@ glnx_console_unlock (GLnxConsoleRef *console) ...@@ -285,5 +285,5 @@ glnx_console_unlock (GLnxConsoleRef *console)
if (console->is_tty) if (console->is_tty)
fputc ('\n', stdout); fputc ('\n', stdout);
locked = FALSE; locked = console->locked = FALSE;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment