apache / apache/dubbo

[Resource cleanup] Child modules are prematurely purged from parent modules

Open
#9,759 0 comments 0 reactions 0 assignees View on GitHub
type/discussion
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

When the following code is executed in `RegistryProtocol#ExporterChangeableWrapper#unexport`, the `moduleModule` has been prematurely removed from the `applicationModule`.
![image](https://user-images.githubusercontent.com/43363120/157605509-7be4730d-6a72-495c-abb7-d7b6800488b1.png)
![image](https://user-images.githubusercontent.com/43363120/157605343-be9eb9f6-c207-4742-8bc0-499e4d40ef14.png)

// =====================================================================
// =====================================================================

This problem is consistent with the `fixme` mentioned elsewhere
![image](https://user-images.githubusercontent.com/43363120/157605809-f9795b1c-e2df-4af8-a78c-a4a12b12e872.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.