public void disable ( ) { if ( disabled . compareAndSet ( false , true ) ) { LOG . info ( "Locking mechanism has been disabled in {}" , webcam ) ; if ( updater != null ) { updater . interrupt ( ) ; } } }
Completely disable locking mechanism . After this method is invoked the lock will not have any effect on the webcam runtime .