Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
CAMP
campvis-public
Commits
47f0f8c9
Commit
47f0f8c9
authored
Jul 21, 2015
by
Christian Schulte zu Berge
Browse files
Fixed crashing test-campvis on GCC/Linux.
parent
ab290c65
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/main.cpp
View file @
47f0f8c9
...
...
@@ -88,15 +88,19 @@ GTEST_API_ int main(int argc, char **argv) {
int
ret
;
std
::
thread
testThread
([
&
]
()
{
cgt
::
GLContextScopedLock
lock
(
_localContext
);
ret
=
RUN_ALL_TESTS
();
{
cgt
::
GLContextScopedLock
lock
(
_localContext
);
ret
=
RUN_ALL_TESTS
();
}
deinit
();
app
->
exit
();
});
app
->
exec
();
deinit
();
testThread
.
join
();
delete
app
;
printf
(
"main() returned with %d
\n
"
,
ret
);
return
0
;
return
ret
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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