Skip to content

GDALAlgorithm: check Run() is called at most once per instance#14427

Merged
rouault merged 1 commit intoOSGeo:masterfrom
rouault:gdalalgorithm_run_once
Apr 23, 2026
Merged

GDALAlgorithm: check Run() is called at most once per instance#14427
rouault merged 1 commit intoOSGeo:masterfrom
rouault:gdalalgorithm_run_once

Conversation

@rouault
Copy link
Copy Markdown
Member

@rouault rouault commented Apr 22, 2026

otherwise crashes may occur, since a number of algorithms modify their internal state when executing Run() and don't expected to be called multiple times.

@rouault rouault added this to the 3.13.0 milestone Apr 22, 2026
@rouault rouault added funded through GSP Work funded through the GDAL Sponsorship Program gdal_cli Anything related to the new 3.11 "gdal" CLI frontend labels Apr 22, 2026
@rouault rouault force-pushed the gdalalgorithm_run_once branch from da0d584 to bc77220 Compare April 22, 2026 22:36
otherwise crashes may occur, since a number of algorithms modify their
internal state when executing Run() and don't expected to be called
multiple times.
@rouault rouault force-pushed the gdalalgorithm_run_once branch from bc77220 to f4734d2 Compare April 22, 2026 22:37
@rouault rouault merged commit 18b8444 into OSGeo:master Apr 23, 2026
42 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

funded through GSP Work funded through the GDAL Sponsorship Program gdal_cli Anything related to the new 3.11 "gdal" CLI frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant