Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Hang on Disposing XComponent/XDesktop | ||
---|---|---|---|
Product: | App Dev | Reporter: | noviceprogram <novice.program> |
Component: | api | Assignee: | AOO issues mailing list <issues> |
Status: | UNCONFIRMED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues, novice.program |
Version: | 3.3.0 or older (OOo) | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows Server 2003 | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
noviceprogram
2008-02-05 09:10:03 UTC
query the XComponent or XCloseable and use close change prio, no P1 please use default priorities if you are not sure which you have to use. jsc -> as: maybe you want to comment this issue. I would say the right approach is to use XCloseable as mentioned before. But anyway the office shouldn't crash. I have the same issue when running on Windows 2003. Using XCloseable calls Dispose anyway, which then hangs without returning and with no exception. Hi, i had the same problem. If I do the disposal in a new thread, then it seems to work. I hope that helps. Regards, Markus p.s.: Below the code I use. try { new Thread() { public void run() { xComponent.dispose() } }.start(); } catch (Exception e) { e.printStackTrace(); } Reset assignee on issues not touched by assignee in more than 1000 days. |