clearThread method
Implementation
void clearThread(String path) {
final normalizedPath = path.trim();
if (normalizedPath.isEmpty) {
return;
}
_touchedThreadPaths.remove(normalizedPath);
_statusByThreadPath.remove(normalizedPath);
_pendingMessagesByThreadPath.remove(normalizedPath);
_toolCallAccumulatorsByThreadPath.remove(normalizedPath);
}