mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Cover connection manager coroutine switch when dispoing conn
This commit is contained in:
parent
27b85c7390
commit
f7faa13dc5
3 changed files with 40 additions and 0 deletions
|
@ -34,6 +34,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
class MockSrsConnection : public ISrsConnection
|
||||
{
|
||||
public:
|
||||
// Whether switch the coroutine context when free the object, for special case test.
|
||||
bool do_switch;
|
||||
public:
|
||||
MockSrsConnection();
|
||||
virtual ~MockSrsConnection();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue