diff options
author | 郭伟光 <warriorguo@gmail.com> | 2022-02-01 20:54:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 14:54:11 +0200 |
commit | 6b5b3ca4148b058210f7c32096a6d1201a2121d9 (patch) | |
tree | 35b729a29bac6dfef44f473439580f079461ee0d /src/modules | |
parent | 6ca97da0fcea4c260e656c3a05b12c34e5a4d63d (diff) | |
download | redis-6b5b3ca4148b058210f7c32096a6d1201a2121d9.tar.gz |
forbid module to unload when it holds ongoing timer (#10187)
This is done to avoid a crash when the timer fires after the module was unloaded.
Or memory leaks in case we wanted to just ignore the timer.
It'll cause the MODULE UNLOAD command to return with an error
Co-authored-by: sundb <sundbcn@gmail.com>
Diffstat (limited to 'src/modules')
0 files changed, 0 insertions, 0 deletions