freeDecisionHeadBackend method
Frees the decision head headHandle.
This is the low-level integration hook used by DecisionEngine.
headHandle is a handle returned by loadDecisionHeadBackend. Does
nothing when it is not loaded on this engine, such as after it was freed
or its model was unloaded.
Implementation
Future<void> freeDecisionHeadBackend(int headHandle) async {
final backendHandle = _decisionHeadHandles.remove(headHandle);
if (backendHandle == null) return;
await _decisionBackend().decisionHeadFree(backendHandle);
}