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

My program remains in the background #4831

Closed
ghost opened this issue Jan 15, 2017 · 4 comments · Fixed by #4839
Closed

My program remains in the background #4831

ghost opened this issue Jan 15, 2017 · 4 comments · Fixed by #4839

Comments

@ghost
Copy link

ghost commented Jan 15, 2017

So when i run my program made in processing and close it the background process is closed BUT when i run the program and it crashes for example: processing didn't found the location of a PImage, when i close the window and look in task manager there is still a javaw process in the background and windows doesn't let me delete the jar file until i manually kill the process.
Note: I use eclipse so i can export my project as a jar file.

@gohai
Copy link
Contributor

gohai commented Jan 15, 2017

Does the same happen to you when you run it with the Processing IDE?

@ghost
Copy link
Author

ghost commented Jan 16, 2017

I don't know the project is too big to port it to the processing ide

@gohai
Copy link
Contributor

gohai commented Jan 16, 2017

Does your project use threads by chance? The P2D or P3D renderer?

Not sure if there is much to narrow this down further... you could of course try to narrow it down to a small test case that exhibits the issue. But whatever it is, it doesn't seem to be biting the majority of users that make use of the IDE.

JakubValtar added a commit to JakubValtar/processing that referenced this issue Jan 20, 2017
When Java2D sketch crashes, closing the window does not stop Event
Dispatch Thread. This fix makes PApplet.exit() do the right thing and
not wait for surface to finish when the thread is already dead.

Fixes processing#4831
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant