Blankj / Blankj/AndroidUtilCode

卡点使用ToastUtil.show会导致应用崩溃

Đang mở
#1,752 0 bình luận 0 reaction 1 người được giao Được @Blankj nhận Xem trên GitHub
bug
Ngôn ngữ chính
Java
Star
33.6k
Fork
10.6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Describe the bug

卡点使用ToastUtil.show会导致应用崩溃

当应用某些时候卡点(并非故意,只是某些场景某些时候总是会卡上点),比如在activity死亡过程中,调用ToastUtil.show就是出现window has leaked (好像报一个ImageView内存泄漏) 的异常并且应用崩溃

A clear and concise description of what the bug is.

- The version of AndroidUtilCode:
- The device:
- The version of device:

## The code of bug

```
put your code here
```

## The stack of crash

```
put the stack of crash here
```

## Screenshots

If applicable, add screenshots to help explain your problem.

## Please delete the current line and the following.

Thank you for supporting [AndroidUtilCode](https://github.com/Blankj/AndroidUtilCode).

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.