Occasional InterruptedException when quitting a Swing application

前端 未结 17 1171
心在旅途
心在旅途 2020-12-05 04:55

I recently updated my computer to a more powerful one, with a quad-core hyperthreading processor (i7), thus plenty of real concurrency available. Now I\'m occasionally

17条回答
  •  臣服心动
    2020-12-05 05:19

    If you are using swing application then first call System.gc() and then call dispose() method. I think it will work fine.. I also use this.

提交回复
热议问题