doClose method

  1. @protected
  2. @mustCallSuper
Future<void> doClose()

Template method for actual cleanup logic when the context is closed.

Subclasses can override this to perform specific cleanup tasks such as releasing caches, closing thread pools, or persisting final state.

This is part of Jetleaf – a framework which developers can use to build web applications.

Implementation

@protected
@mustCallSuper
Future<void> doClose() async {}