close method
void
close()
Method to be called at the end of the processing, in order to make sure any last stay entity is reported as merge result as well.
Implementation
void close() {
// If we have an active stay, this is the time to emit and reset it.
if (_currentStay != null) {
reportMergeResult(_currentStay!);
_currentStay = null;
}
}