protected void disableSessionDelivery ( ) { bugsnag . setSessionDelivery ( new Delivery ( ) { @ Override public void deliver ( Serializer serializer , Object object , Map < String , String > headers ) { // Do nothing } @ Override public void close ( ) { // Do nothing } } ) ; }
Prevents sessions from being delivered