If an object is defined outside of an environment, and first provided to env_1 and then used to initialize env_2, the services/buffers for env_1 are overwritten with env_2 as the buffers/srvs etc... are attributes of the object instead of the environment it is used in.
Either produce an error if used multiple times, or have the buffers/srvs etc.. be attributes of the environment instead. Perhaps making a deepcopy of the object is an option?
If an object is defined outside of an environment, and first provided to env_1 and then used to initialize env_2, the services/buffers for env_1 are overwritten with env_2 as the buffers/srvs etc... are attributes of the object instead of the environment it is used in.
Either produce an error if used multiple times, or have the buffers/srvs etc.. be attributes of the environment instead. Perhaps making a deepcopy of the object is an option?