'cuCtxDestroy' locks

Recently I got some problems with the newest driver, I think. It apears that a call to ‘cuCtxDestroy’ causes the application to lock itself - what I mean is when calling that function no code placed afterwords is executed. It seams like the call exits the application. What is disturbing the console window doesn’t close but freezes - one cannot close it but with the ‘X’ in the upper right corner of the window. Anybody had such problems?


My card is Gainward GeForce GTX 560 Ti