mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 11:21:52 +00:00
Fix utest bug, init fd
This commit is contained in:
parent
1f493cc037
commit
816aa91a7f
1 changed files with 2 additions and 0 deletions
|
@ -835,6 +835,7 @@ public:
|
|||
SrsSTCoroutine trd;
|
||||
srs_netfd_t fd;
|
||||
MockOnCycleThread3() : trd("mock", this, 0) {
|
||||
fd = NULL;
|
||||
};
|
||||
virtual ~MockOnCycleThread3() {
|
||||
trd.stop();
|
||||
|
@ -1087,6 +1088,7 @@ public:
|
|||
SrsSTCoroutine trd;
|
||||
srs_netfd_t fd;
|
||||
MockOnCycleThread4() : trd("mock", this, 0) {
|
||||
fd = NULL;
|
||||
};
|
||||
virtual ~MockOnCycleThread4() {
|
||||
trd.stop();
|
||||
|
|
Loading…
Reference in a new issue