fix: race condition & logs
This commit is contained in:
parent
4369fe8b0c
commit
d40d80c541
3 changed files with 39 additions and 4 deletions
|
|
@ -348,6 +348,8 @@ function M.navigate_problem(direction, language)
|
|||
return
|
||||
end
|
||||
|
||||
logger.log(('navigate_problem: %s -> %s'):format(current_problem_id, problems[new_index].id))
|
||||
|
||||
local active_panel = state.get_active_panel()
|
||||
if active_panel == 'run' then
|
||||
require('cp.ui.views').disable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue