Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
this.dispose();StackOverflow エラーが発生しないのと同じ効果が必要です。すべての変数 (~100 個あります) を簡単に破棄するにはどうすればよいですか? 現在の画面を削除して画面を切り替えたいので、元に戻すと、古い画面が存在しなかったかのようになります。現在の画面を破棄するためのさまざまな方法を試してきましたが、これまでのところ、dispose()メソッドで手動で破棄することが最善の策のようです。
this.dispose();
dispose()