diff --git a/app/models/turbo/debouncer.rb b/app/models/turbo/debouncer.rb index 8dc2e805..3c8dd53a 100644 --- a/app/models/turbo/debouncer.rb +++ b/app/models/turbo/debouncer.rb @@ -14,7 +14,7 @@ def debounce(&block) end def wait - scheduled_task.wait(wait_timeout) + scheduled_task&.wait(wait_timeout) end private