MCPcopy Create free account
hub / github.com/SpartanJ/eepp / close

Method close

src/tools/ecode/plugins/debugger/bussocketprocess.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27bool BusSocketProcess::close() {
28 if ( mState == State::Running ) {
29 if ( mSocket->state() == State::Running )
30 mSocket->close();
31 if ( mProcess->state() == State::Running )
32 mProcess->close();
33 mState = State::Closed;
34 return true;
35 }
36
37 return false;
38}
39
40void BusSocketProcess::startAsyncRead( ReadFn readFn ) {
41 mSocket->startAsyncRead( readFn );

Callers

nothing calls this directly

Calls 2

stateMethod · 0.80
closeMethod · 0.65

Tested by

no test coverage detected