Skip to content

Only run scan completed callback if it exists#2862

Merged
daid merged 1 commit intodaid:masterfrom
dkapell:scanCompleted
Apr 16, 2026
Merged

Only run scan completed callback if it exists#2862
daid merged 1 commit intodaid:masterfrom
dkapell:scanCompleted

Conversation

@dkapell
Copy link
Copy Markdown
Contributor

@dkapell dkapell commented Apr 16, 2026

This fixes a issue from #2675 by checking if the on_scan_completed callback exists before calling it.
Without this, every scan that doesn't have a callback generates a Lua error.

@dkapell dkapell marked this pull request as ready for review April 16, 2026 13:49
@daid daid merged commit 89331e9 into daid:master Apr 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants