Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I close LibreOffice server process #23

Open
lfcnassif opened this issue Feb 12, 2019 · 1 comment
Open

How can I close LibreOffice server process #23

lfcnassif opened this issue Feb 12, 2019 · 1 comment

Comments

@lfcnassif
Copy link

Currently I am trying to call officeApplication.deactivate(); and officeApplication.dispose(); but with no effect as said by documentation. So after my app closes, there is a libreoffice process left behind. How can I close it?
Thanks

@Akashreddy1980
Copy link

Akashreddy1980 commented Sep 2, 2021

Try removing the endpoint if(service.getcount()<1) after deactivating the officeapplication.
if (officeApplication != null) { _serviceEprMap.remove(officeApplication); officeApplication.deactivate(); if(officeApplication.getCount() < 1 ) { _activeService.remove(endpoint); } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants