In reply to Raj2004:
You can put what was in pre/post_body() as the first/last statements of your body().
This does not explain your hang. You will have to interrupt it and see what is executing while hanging using the debugger.
In reply to Raj2004:
You can put what was in pre/post_body() as the first/last statements of your body().
This does not explain your hang. You will have to interrupt it and see what is executing while hanging using the debugger.