Skip to content
Snippets Groups Projects
Commit 4eb0ffc5 authored by Beat Küng's avatar Beat Küng
Browse files

vmount: update control_data if already_active is true

control_data needs to be able to be set to nullptr in case if the input
is already active. Otherwise the output will think there's always new
requests and reset it's state.
parent 73d23742
No related branches found
No related tags found
No related merge requests found
......@@ -337,7 +337,7 @@ static int vmount_thread_main(int argc, char *argv[])
continue;
}
if (control_data_to_check != nullptr) {
if (control_data_to_check != nullptr || already_active) {
control_data = control_data_to_check;
last_active = i;
}
......
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