When the random file is created, Plug.Upload GenServer starts to monitor the process where random_file/1 was called.
I noticed that Plug.Upload.give_away/3 creates the monitor for to_pid but does not demonitor the previous owner (process).
Just out of curiosity, should we be concerned about this somehow, or will the effort to introduce this not result in any increase in efficiency?
Hi,
When the random file is created,
Plug.Upload
GenServer starts to monitor the process whererandom_file/1
was called. I noticed thatPlug.Upload.give_away/3
creates the monitor forto_pid
but does not demonitor the previous owner (process).Just out of curiosity, should we be concerned about this somehow, or will the effort to introduce this not result in any increase in efficiency?