MCPcopy Create free account
hub / github.com/bytedance/bolt / close

Method close

bolt/exec/Driver.cpp:970–981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968}
969
970void Driver::close() {
971 if (closed_) {
972 // Already closed.
973 return;
974 }
975 if (!isOnThread() && !isTerminated()) {
976 LOG(FATAL) << "Driver::close is only allowed from the Driver's thread";
977 }
978 closeOperators();
979 closed_ = true;
980 Task::removeDriver(ctx_->task, this);
981}
982
983void Driver::closeByTask() {
984 BOLT_CHECK(isOnThread());

Callers 1

closeOperatorsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected