JavaFX application still running after close

后端 未结 8 1205
长发绾君心
长发绾君心 2021-01-04 00:25

I\'m having problem to close my javaFX application, when I click the close button from my stage, my application disappears but if I look for it in my task manager my applica

8条回答
  •  没有蜡笔的小新
    2021-01-04 01:17

    Does your application spawn any child threads? If so have you ensured that you terminate them (assuming that they're not daemon threads)?

    If your application spawns non-daemon threads then they (and therefore your app) will continue to live on until such time you kill the process

提交回复
热议问题