Example #1
0
 /**
  * Stops the cache running for this request
  */
 public static function stop()
 {
     // Unregister the finish event
     try {
         \Event::unregister('request_finished', 'CMF\\Cache::finish');
     } catch (\Exception $e) {
     }
     // Stop the driver
     static::driver()->stop();
 }