I am using RStudio on a Windows Server 2016 virtual machine and I have a problem when closing Rstudio - the rstudio.exe process is not being terminated.
Basically running RStudio creates two processes: rsession and rstudio. Each of this process generates 6 associated handles (12 in total). After closing the app, rsession finishes fine and only rstudio keeps running with its 6 associated handles.
Do you have any idea what can prevent the handles from being terminated?
There is a screenshot to better see the problem.
After using RStudio for a while there are hundreds of rstudio.exe processes because they never terminate.
Any help would be really appreciated.