dequan1331 / HybridPageKit

A high-performance、high-extensibility、easy integration framework for Hybrid content page. Support most content page types of News App.
MIT License
1.22k stars 187 forks source link

内存警告处理不友好 #33

Closed Q-Time closed 4 years ago

Q-Time commented 4 years ago

HPKWebView还在加载或者滚动显示中时,收到警告就直接给释放了,导致崩溃。 Cannot form weak reference to instance (0x10d013600) of class HPKWebView. It is possible that this object was over-released, or is in the process of deallocation.

dequan1331 commented 4 years ago

能上传下完整的Crash堆栈信息么

Q-Time commented 4 years ago
Q-Time commented 4 years ago

Cannot form weak reference to instance (0x13e353a00) of class HPKWebView. It is possible that this object was over-released, or is in the process of deallocation.

dequan1331 commented 4 years ago

frame #7: 0x00000001020572b0 TreatHelpernew__fo_function0(self=, _cmd="setNavigationDelegate:", navigationDelegate=0x0000000281f06c90) at WKWebView+Growing.m:101:1 [opt] 看堆栈是挂到这里呢 这个应该是你们自己扩展的吧,

Q-Time commented 4 years ago

这个应该是一个信息采集库GrowingAutoTrackKit里其中的文件,我先看看哈,谢谢了,麻烦了