Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jens Krüger
Lima
Commits
8e8d7c9f
Commit
8e8d7c9f
authored
Sep 06, 2012
by
Sebastien Petitdemange
Browse files
Fixed a deadlock in manual saving
parent
e737aa5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
control/src/CtSaving.cpp
View file @
8e8d7c9f
...
...
@@ -1131,12 +1131,13 @@ void CtSaving::writeFrame(int aFrameNumber, int aNbFrames)
_updateParameters
();
SavingMode
saving_mode
=
getAcqSavingMode
();
ManagedMode
managed_mode
=
getManagedMode
();
wait_and_cleanup_ready_flag
.
toggleReadyFlag
();
if
(
saving_mode
!=
Manual
)
THROW_CTL_ERROR
(
Error
)
<<
"Manual saving is only permitted when "
"saving mode == Manual"
;
wait_and_cleanup_ready_flag
.
toggleReadyFlag
();
ManagedMode
managed_mode
=
getManagedMode
();
if
(
managed_mode
==
Software
)
{
Data
anImage2Save
;
...
...
Write
Preview
Supports
Markdown
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