MySQL Connections stay open after stopping debug session in Visual Studio 2015 -
i have program debugging , requires connections mysql database. i've noticed when close program "normally" (as intended user) connections close out expected. when click stop debugging button in visual studio, connections stay open on server. believe underlying issue has improperly opening connection in first place did not write original code , take extensive amount of time try find , fix each issue in code. until have time, there way visual studio automatically close mysql connections when stopping debug session? maybe have run additional code on stop debug or something?
the "stop debugging" button in vs ide not stop connection directly, 1 workaround close connection in code automatically during debugging. understanding real connection or not connection action related code execution, not related vs debugging tool.
even if use block, please check whether calls code in after stopping debugging.
Comments
Post a Comment