Naveen Albert
c209064d66
loader: Allow declined modules to be unloaded.
...
Currently, if a module declines to load, dlopen is called
to register the module but dlclose never gets called.
Furthermore, loader.c currently doesn't allow dlclose
to ever get called on the module, since it declined to
load and the unload function bails early in this case.
This can be problematic if a module is updated, since the
new module cannot be loaded into memory since we haven't
closed all references to it. To fix this, we now allow
modules to be unloaded, even if they never "loaded" in
Asterisk itself, so that dlclose is called and the module
can be properly cleaned up, allowing the updated module
to be loaded from scratch next time.
ASTERISK-30345 #close
Change-Id: Ifc743aadfa85ebe3284e02a63e124dafa64988d5
2023-01-05 06:13:21 -06:00
..
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2023-01-03 09:00:42 -06:00
2017-12-22 09:23:22 -05:00
2018-12-07 09:06:08 -05:00
2021-12-02 15:02:09 -06:00
2022-01-05 09:34:18 -06:00
2020-05-05 10:06:43 -05:00
2017-12-22 09:23:22 -05:00
2020-05-05 10:06:43 -05:00
2017-12-22 09:23:22 -05:00
2022-09-09 20:41:35 -05:00
2022-12-09 08:59:04 -06:00
2020-06-02 11:35:07 -05:00
2021-11-15 17:33:27 -06:00
2021-12-02 10:37:38 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2019-09-23 07:35:48 -04:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2022-10-11 08:13:46 -05:00
2018-06-19 15:02:52 -05:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:09 -06:00
2022-09-08 13:47:19 -05:00
2022-06-30 15:19:56 -05:00
2021-12-02 15:02:09 -06:00
2022-07-12 07:46:03 -05:00
2021-11-15 17:33:27 -06:00
2022-07-14 08:19:28 -05:00
2021-12-02 15:02:09 -06:00
2022-10-10 12:07:03 -05:00
2021-12-02 15:02:09 -06:00
2022-08-17 11:11:32 -05:00
2022-11-29 08:27:14 -06:00
2018-03-01 13:13:55 -06:00
2022-09-09 20:41:35 -05:00
2022-11-08 09:15:55 -06:00
2022-11-08 09:15:55 -06:00
2022-12-08 09:16:33 -06:00
2023-01-03 09:00:42 -06:00
2022-03-23 17:13:03 -05:00
2021-12-02 15:02:09 -06:00
2022-05-05 08:15:42 -05:00
2021-12-02 15:02:09 -06:00
2020-04-15 13:56:40 -05:00
2022-07-07 08:19:14 -05:00
2022-09-26 17:19:13 -05:00
2021-12-02 15:02:09 -06:00
2022-10-26 11:51:44 -05:00
2020-03-13 09:58:59 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2020-04-28 13:05:55 -05:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2022-01-05 12:21:23 -06:00
2019-03-11 11:39:35 -03:00
2021-11-15 17:33:27 -06:00
2019-11-18 08:30:45 -06:00
2022-09-08 13:47:19 -05:00
2018-03-14 05:20:12 -04:00
2022-09-26 11:26:25 -05:00
2022-12-20 08:51:33 -06:00
2021-06-24 08:18:19 -05:00
2021-01-04 05:00:58 -06:00
2021-12-02 15:02:09 -06:00
2021-01-04 05:00:58 -06:00
2018-10-19 17:33:05 -04:00
2021-01-27 10:40:41 -06:00
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2017-12-22 09:23:22 -05:00
2018-03-01 13:13:55 -06:00
2018-03-01 13:13:55 -06:00
2021-12-15 09:58:27 -06:00
2020-11-03 15:47:33 -06:00
2021-12-02 15:02:09 -06:00
2020-01-02 15:51:37 -06:00
2017-12-20 12:40:01 -05:00
2021-10-28 09:37:24 -05:00
2018-05-20 13:55:26 +02:00
2023-01-05 06:13:21 -06:00
2022-09-11 18:01:38 -05:00
2020-10-02 12:58:18 -05:00
2022-03-23 17:06:50 -05:00
2022-09-12 08:15:10 -05:00
2022-01-05 10:32:46 -06:00
2022-01-05 11:31:42 -06:00
2017-12-22 09:23:22 -05:00
2022-01-05 10:32:46 -06:00
2017-12-19 09:42:19 -05:00
2023-01-03 12:00:14 -06:00
2021-12-02 15:02:09 -06:00
2019-01-28 12:26:58 -07:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2017-12-30 13:20:16 -05:00
2018-05-21 11:03:10 -05:00
2021-12-02 10:37:38 -06:00
2022-12-03 11:28:49 -05:00
2019-03-11 11:39:35 -03:00
2023-01-03 07:20:46 -06:00
2022-12-20 09:53:58 -06:00
2022-07-27 07:56:59 -05:00
2021-12-02 15:02:09 -06:00
2021-08-06 09:04:28 -05:00
2017-12-22 09:23:22 -05:00
2021-12-02 15:02:09 -06:00
2022-09-11 08:32:37 -05:00
2022-07-13 17:18:10 -05:00
2021-12-02 15:02:09 -06:00
2018-07-26 14:29:18 -05:00
2017-12-22 09:23:22 -05:00
2019-03-11 11:39:35 -03:00
2023-01-03 09:00:42 -06:00
2022-10-26 09:52:38 -05:00
2022-01-21 10:06:57 -06:00
2017-12-22 09:23:22 -05:00
2019-03-11 11:39:35 -03:00
2019-11-18 11:05:24 -05:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2019-02-04 14:40:35 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 14:46:42 -06:00
2019-03-11 11:39:35 -03:00
2021-11-18 14:46:42 -06:00
2022-05-22 15:40:33 -05:00
2021-12-13 08:57:26 -06:00
2021-12-02 10:37:38 -06:00
2018-12-07 08:59:00 -05:00
2022-05-09 08:20:46 -05:00
2019-03-11 11:39:35 -03:00
2022-08-01 11:03:43 -05:00
2020-05-08 13:44:08 -05:00
2020-09-14 09:27:14 -05:00
2018-03-13 16:24:06 -04:00
2022-08-17 11:11:32 -05:00
2022-05-09 08:21:45 -05:00
2022-02-14 16:20:17 -06:00
2022-10-31 12:49:27 -05:00
2021-12-02 15:02:09 -06:00
2021-09-08 19:10:54 -05:00
2022-09-26 08:53:41 -05:00
2021-12-02 15:02:09 -06:00
2017-12-22 09:23:22 -05:00
2022-03-24 12:00:58 -05:00
2018-01-03 17:23:36 -05:00
2022-11-08 09:15:55 -06:00
2023-01-03 09:00:42 -06:00
2017-12-22 09:23:22 -05:00
2020-07-28 09:45:29 -05:00
2022-09-13 09:51:37 -05:00
2021-12-02 15:02:09 -06:00
2022-08-10 12:50:40 -05:00
2022-12-08 09:16:33 -06:00