Motivation: If DeleteOnExitHook is in the open state and the program runs for a long time, the DeleteOnExitHook file keeps increasing. This results in a memory leak Modification: I re-customized a DeleteOnExitHook hook. If DeleteOnExitHook is turned on, this hook will be added when creating a temporary file. After the request ends and the corresponding resources are released, the current file will be removed from this hook, so that it will not increase all the time. Result: Fixes https://github.com/netty/netty/issues/10351 |
||
---|---|---|
.. | ||
src | ||
pom.xml |