Commit 95b69dd7 authored by Ell's avatar Ell

app: in GimpBacktrace Windows backend, return NULL backtrace if not initialized

In the Windows implementation of gimp_backtrace_new(), return NULL
if the backend is not fully initialized.
parent 281f17e5
......@@ -370,6 +370,9 @@ gimp_backtrace_new (gboolean include_current_thread)
DWORD tid;
gint i;
if (! initialized)
return NULL;
g_mutex_lock (&mutex);
if (! gimp_backtrace_enumerate_threads ())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment