Skip to content

Fix crash when quiting. v6.0.151 v7.0.10#4157

Merged
winlinvip merged 4 commits intoossrs:developfrom
winlinvip:bugfix/quiting-crash
Aug 24, 2024
Merged

Fix crash when quiting. v6.0.151 v7.0.10#4157
winlinvip merged 4 commits intoossrs:developfrom
winlinvip:bugfix/quiting-crash

Conversation

@winlinvip
Copy link
Copy Markdown
Member

@winlinvip winlinvip commented Aug 24, 2024

  1. Remove the srs_global_dispose, which causes the crash when still publishing when quit.
  2. Always call _srs_thread_pool->initialize for single thread.
  3. Support --signal-api to send signal by HTTP API, because CLion eliminate the signals.

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Aug 24, 2024
@winlinvip winlinvip changed the title Fix crash when quiting. Fix crash when quiting. v6.0.151 v7.0.10 Aug 24, 2024
@winlinvip winlinvip added the RefinedByAI Refined by AI/GPT. label Aug 24, 2024
@winlinvip winlinvip requested a review from suzp1984 August 24, 2024 14:15
@suzp1984 suzp1984 self-requested a review August 24, 2024 14:38
@winlinvip winlinvip merged commit f8319d6 into ossrs:develop Aug 24, 2024
winlinvip added a commit that referenced this pull request Aug 24, 2024
1. Remove the srs_global_dispose, which causes the crash when still
publishing when quit.
2. Always call _srs_thread_pool->initialize for single thread.
3. Support `--signal-api` to send signal by HTTP API, because CLion
eliminate the signals.

---

Co-authored-by: Jacob Su <suzp1984@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EnglishNative This issue is conveyed exclusively in English. RefinedByAI Refined by AI/GPT.

Development

Successfully merging this pull request may close these issues.

2 participants