調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
ブロックする >IConnectionPreviewer >廃棄
IConnectionPreviewer.dispose() メソッド
この接続プレビューアが保持する参照を破棄します。
署名:
dispose(): void;
戻り値:
void
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-21 UTC。
[null,null,["最終更新日 2024-08-21 UTC。"],[[["The `IConnectionPreviewer.dispose()` method is used to clean up resources held by the connection previewer."],["Calling `dispose()` ensures any references within the connection previewer are released, preventing memory leaks."],["This method does not return any value and is part of the `IConnectionPreviewer` interface in Blockly."]]],["The `dispose` method, part of the `IConnectionPreviewer` interface, is responsible for releasing any held resources. It takes no parameters and returns nothing (void). The core action of this method is to dispose of any references maintained by the connection previewer. This ensures proper cleanup and prevents memory leaks.\n"]]