ambiot / ambd_matter

AmebaD public SDK to support Matter project
https://www.amebaiot.com/en/
10 stars 10 forks source link

[portinglayer] unnecessary while loop #82

Closed step0035 closed 1 year ago

step0035 commented 1 year ago

hi @SandyYeow & @SirRu24 , in the portinglayer examples component/common/application/matter/examples, all the examples give a while(1) at the end of the task. I don't think it is necessary as it only needs to init other tasks and exit. Can you let the tasks delete itself at the end instead of hanging there and test if it behaves correctly?