MCPcopy Create free account
hub / github.com/Haivision/srt / Close

Method Close

testing/testmedia.cpp:153–159  ·  view source on GitHub ↗

~FileTarget() { ofile.close(); }

Source from the content-addressed store, hash-verified

151 bool Broken() override { return !ofile.good(); }
152 //~FileTarget() { ofile.close(); }
153 void Close() override
154 {
155#ifdef PLEASE_LOG
156 applog.Debug() << "FileTarget::Close";
157#endif
158 ofile.close();
159 }
160};
161
162// Can't base this class on FileSource and FileTarget classes because they use two

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected