| 156 | } |
| 157 | |
| 158 | SubsController::~SubsController() { |
| 159 | // Make sure there are no autosaves in progress |
| 160 | autosave_queue->Sync([]{ }); |
| 161 | } |
| 162 | |
| 163 | void SubsController::SetSelectionController(SelectionController *selection_controller) { |
| 164 | active_line_connection = context->selectionController->AddActiveLineListener(&SubsController::OnActiveLineChanged, this); |