Skip to content

usage of multiple static variables is discouraged #33

Done

Description

@rhaschke

I'm double-posting this issue, which shows up in pluginlib usage: ros/pluginlib#37

Using static pluginlib ClassLoader defers lib unloading to program shutdown time.
But as the order of static releases is undefined, the program might crash.

IMHO, class_loader shouldn't use a handful of unrelated static vars, but collect them within a singleton class, which is only freed when all loaded libs were unloaded.

Activity

  1. added 3 commits that reference this issue on Nov 28, 2026
    5d33d78
    a0b7e28
    1659052
  2. added a commit that references this issue on Dec 2, 2026
    8e14dde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions