| 69 | } |
| 70 | |
| 71 | void Stream::Close() |
| 72 | { |
| 73 | OnDataAvailable.disconnect_all_slots(); |
| 74 | |
| 75 | /* Force signals2 to remove the slots, see https://stackoverflow.com/questions/2049291/force-deletion-of-slot-in-boostsignals2 |
| 76 | * for details. */ |
| 77 | OnDataAvailable.connect([](const Stream::Ptr&) { }); |
| 78 | } |
| 79 | |
| 80 | StreamReadStatus Stream::ReadLine(String *line, StreamReadContext& context, bool may_wait) |
| 81 | { |
nothing calls this directly
no outgoing calls
no test coverage detected