Because both AWT and SWT holds reference to native components, they must release them in a correct manner to avoid memory leaks and JVM crashes.
英
美
- 由于AWT和SWT都持有对本地组件的引用,它们必须以正确的方式释放这些引用以避免内存泄露和JVM崩溃。