GoogleCloudPlatform / GoogleCloudPlatform/google-cloud-eclipse

Ensure proper plugin shutdown

Open
#1,116 0 comments 0 reactions 0 assignees View on GitHub
cleanup priority: p4
Dominant language
Java
Stars
90
Forks
52
PR merge metrics
No merged PRs in 30d

Description

From the [Eclipse Jobs docs](http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fruntime_jobs.htm):

> ### Completing jobs before shutdown
> Since jobs run concurrently, it is possible for your jobs to be still running when the platform begins to shutdown. This is a dangerous situation, since after your plug-in stops it may not behave correctly or be able to load classes. For this reason, it is important for you to ensure all your jobs are canceled and completed in your plug-in's stop method. As in the previous example, you can use a job family to ensure all jobs scheduled by your plug-in are canceled and joined before your plug-in stops running.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.