Wednesday, March 26, 2014

Thread Cursor not closed after the end of the thread Cursor is not automatically shut down?


Function abnormalities encountered no time to close the cursor, thrown to the caller handle. cursor is a local variable, not after the exit function, cursor will automatically shut down?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
No, you want to ensure that even if an exception occurs also called cursor.close ()
Reply:
Thank you, cursor.close () does not perform, then, is not very serious consequences? I tested the demo there are missing close
Reply:
reference to the second floor appleibm reply:
Thank you, cursor.close () does not perform, then, is not very serious consequences? I tested the demo there are missing close

Look at this article http://zhifeiji512.iteye.com/blog/963925

No comments:

Post a Comment