commit abcdf1124e6de62d439b5f629d44ae260947160f parent 4ed95dff92e5aee64ae27e71ba7679d1825a0f8c Author: Alexandre Bique <bique.alexandre@gmail.com> Date: Thu, 16 Jun 2022 00:25:42 +0200 Fix an inconsistence in `clap_plugin->destroy()` documentation Diffstat:
M | ChangeLog.md | | | 5 | +++++ |
M | include/clap/plugin.h | | | 2 | +- |
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog.md b/ChangeLog.md @@ -1,3 +1,8 @@ +# Changes in 1.0.3 + +* Fix an inconsistence in `clap_plugin->destroy()` documentation: + it is now **required** to deactivate the plugin before destroying it. + # Changes in 1.0.2 * CMake: add `CLAP_BUILD_TESTS` which enables the tests. diff --git a/include/clap/plugin.h b/include/clap/plugin.h @@ -41,7 +41,7 @@ typedef struct clap_plugin { bool (*init)(const struct clap_plugin *plugin); // Free the plugin and its resources. - // It is not required to deactivate the plugin prior to this call. + // It is required to deactivate the plugin prior to this call. // [main-thread & !active] void (*destroy)(const struct clap_plugin *plugin);