Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
a8337a66
Commit
a8337a66
authored
Dec 28, 2012
by
Davis King
Browse files
Fixed a double unlock bug.
parent
2461a5e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/gui_core/gui_core_kernel_1.cpp
dlib/gui_core/gui_core_kernel_1.cpp
+1
-1
No files found.
dlib/gui_core/gui_core_kernel_1.cpp
View file @
a8337a66
...
@@ -289,7 +289,7 @@ namespace dlib
...
@@ -289,7 +289,7 @@ namespace dlib
if
(
p
.
get
()
==
0
)
if
(
p
.
get
()
==
0
)
{
{
p
.
reset
(
new
event_handler_thread
());
p
.
reset
(
new
event_handler_thread
());
global_mutex
()
->
unlock
();
M
.
unlock
();
p
->
start_event_thread
();
p
->
start_event_thread
();
}
}
return
p
;
return
p
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment