This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to free used resources

Hello,

I've noticed that if an application uses the linux drivers (resizer, edma, etc) and it crashes badly (i.e. on abort() command or with kill -9) then some resources might not be freed.

As an example I've tried running a simple capture/resize/encode demo, then killed it with "kill -9". If I try to restart it again, the EDMAK driver complains that some EDMA channels are already in use.

Sometimes even the resizer driver complains that " mode doesn't allow multiple instances".

Any idea on how to release used resources? Theoretically a killed process should close all file handles and this should free up all used resources.