FATAL EXCEPTION: main
Process: pnet.main, PID: 5046
java.lang.UnsupportedOperationException
at java.lang.Thread.destroy(Thread.java:479)
at pnet.draw.DrawRabActivity$DoThings.surfaceDestroyed(DrawRabActivity.java:185)

 

在surfaceView上画图,在thread中画图结束后,调用了destroy()方法,提示了 UnsupportedOperationException 的错误。

线程运行结束后就死亡了,不需要destroy()。

 

public void surfaceDestroyed(SurfaceHolder holder) {

thread.destroy();
}




1 条评论

Codethed · 2019年9月1日 上午6:54

The cleaning company accomplishes cleansing of areas of numerous sizes and configurations.

The business’s experts supply cleaning up with the aid of modern innovations, have unique equipment, and also have actually licensed detergents in their toolbox. In addition to the above advantages, wines use: favorable prices; cleaning in a short time; excellent quality outcomes; greater than 100 favorable testimonials. Cleaning workplaces will aid maintain your work environment in order for the most productive job. Any kind of company is very essential ambience in the team. Cleaning up solutions that can be ordered inexpensively now can help to arrange it and give a comfy area for labor.

If needed, we leave cleaning up the cooking area 2-3 hours after positioning the order. You get cleansing immediately.

We offer expert maids ny for personal clients. Making use of European devices and also licensed devices, we attain optimal results and offer cleaning in a short time.

We offer discount rates for those who use the solution for the very first time, as well as desirable terms of collaboration for regular clients.

Our pleasant team uses you to get familiarized with favorable terms of participation for company customers. We sensibly approach our tasks, clean using expert cleaning products and also specialized tools. Our employees are trained, have clinical publications as well as recognize with the subtleties of getting rid of facility and hard-to-remove dust from surface areas.

We supply top quality cleansing for huge ventures and also little companies of different instructions, with a price cut of as much as 25%.

发表评论

电子邮件地址不会被公开。 必填项已用*标注