OK this is how all modern operating systems work. They clean up resources
of killed process. I was rather suprised that CefShutdown does not clean
all allocated resources. Why ? Because we don't know how programmer is going
to use distributed library. Programmer can decide to use CEF once only
on program start and do not use it anymore or use it occasionaly
during program lifetime. This is why denit functions of dynamic libraries
always clean up all alocated resources during library usage.
In the first case not freeing up resources leads up to memory leakage.
Which in CEF case is something around 100MB (size of libcef.dll and snapshot bin)
CEF is really advanced project and I did not think It was made by
mistake but rather by purpose so this is why I asked this question in the first place.
I understand why CEF does not free up resources in separate render processes
which would be destroyed either way when browser window is closed. What I don't
understand is why it does not free libcef.dll library in browser process when CefShutdown is called.
I found your response to this thread
https://magpcss.org/ceforum/viewtopic.php?f=6&t=16631and now everything is clear to me. Thank you