dockClosed

open override fun dockClosed(harbour: Harbour, dock: Dock)

An optional method, which gives you the opportunity to tidy up (e.g. release resources) when a dock is closed.