Commit d2bffc0
Skip cleanup for built-in modules
Return early from verto_cleanup when BUILTIN_MODULE is defined. This prevents
unloading module records and destroying global mutexes when the library is
compiled statically, as dynamic module cleanup is unnecessary for built-in
modules.
Signed-off-by: Simo Sorce <simo@redhat.com>1 parent 0dc4e8f commit d2bffc0
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
613 | 616 | | |
614 | 617 | | |
615 | 618 | | |
| |||
624 | 627 | | |
625 | 628 | | |
626 | 629 | | |
| 630 | + | |
627 | 631 | | |
628 | 632 | | |
629 | 633 | | |
| |||
0 commit comments