iOS上,调用exit()退出app,会造成主线程卡主2~3秒再退出

Open
#2,645 0 comments 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since Dec 31, 2024.

Assessment

This issue has not been assessed yet.

Description

【版本信息】

4.2.99

【平台信息】

iOS 原生

【预期的表现】

在app中调用exit(); 能正常退出

【实际的情况】

在app中调用exit(); 会阻塞线程,延迟2~3秒后app才能退出

【Demo及附件】

这是bugly上的堆栈信息:
0 libsystem_kernel.dylib
___ulock_wait + 8
1 libsystem_pthread.dylib
__pthread_join + 456
2 libc++.1.dylib
std::__1:🧵:join() + 36
3 libpag
pag::StrokeStyle::verify() const + 11900
4 libpag
pag::StrokeStyle::verify() const + 11716

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Tencent/libpag

All issues in Tencent/libpag

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.