张林伟

Results 41 comments of 张林伟

+1,我测试了下,jdk8 1. 非main线程异常未捕获,线程退出,但不会导致进程退出 2. main线程异常未捕获, 1. 子线程存在非daemon线程,所有子线程不会退出 2. 子线程均为daemon线程,所有子线程退出,进程退出 测试代码 ```java public class Test2 { public static void main(String[] args) throws InterruptedException { Thread t1 = new Thread(() -> {...

@wendux 官方文档: https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html

@njalmeida Hi, have you solved this problem? I'm facing similar issue, ``` 2022-05-20 10:05:12.318455 77.93% [INFO] switch_cpp.cpp:1465 202205201005500f0811961fc0451fa6fee065be2bd53f IVR_LOG asr#start:unimrcp {caller=15736669863,intent_param_req=1,group=[小米贷款外呼],multiturn_query=qqq合约警告机器人aaa,task_id=19dcfae319284e5c967a09e8613ef496,task_session_id=ebb0619f3ec6459bb326d9beed9937f6,call_id=202205201005500f0811961fc0451fa6fee065be2bd53f,tts_voice=aliyun_aixia,user_dtmf=#}asr 202205201005500f0811961fc0451fa6fee065be2bd53f 202205201005500f0811961fc0451fa6fee065be2bd53f EXECUTE [depth=0] sofia/external/1110115736669863 detect_speech(unimrcp {caller=15736669863,intent_param_req=1,group=[小米贷款外呼],multiturn_query=qqq合约警告机器人aaa,task_id=19dcfae319284e5c967a09e8613ef496,task_session_id=ebb0619f3ec6459bb326d9beed9937f6,call_id=202205201005500f0811961fc0451fa6fee065be2bd53f,tts_voice=aliyun_aixia,user_dtmf=#}asr 202205201005500f0811961fc0451fa6fee065be2bd53f) 202205201005500f0811961fc0451fa6fee065be2bd53f...

Test code pasted by @santossumii using `async-std` runtime. ``` fn main() { async_std::task::block_on(async { async_std::task::spawn(async { background_job().await }); loop { let start = Instant::now(); async_std::task::spawn(async move { handle_request(start).await }).await; }...

Good workaround. But we can not control our third-party libs if they have bad tasks.

I have same issue with bevy 0.9.1 when I want to run my game on browser. I disable hdr on wasm32, but got new error source code: https://github.com/NightsWatchGames/jump-jump

Above error fixed by removing BloomSettings on wasm32.

> Previously attempted in #3991: good discussion there. Thanks, seems it's only about ui, I'd like round corner for `Quad` shape.

If not set `physical_position` field public, users can't create Cursor by themselves. I thought `CursorBuilder` will be a bit heavy, but the solution depends on you.

Maybe we can add comment to warn users not modify `physical_position` field directly.