unsubscribe from all of the subscriptions in the list , which stops the receipt of notifications on the associated subscriber . concode_field_sep LinkedList<Subscription> subscriptions concode_elem_sep boolean unsubscribed concode_field_sep void add concode_elem_sep boolean hasSubscriptions concode_elem_sep void clear concode_elem_sep boolean isUnsubscribed concode_elem_sep void remove concode_elem_sep void unsubscribeFromAll
void function ( ) { if ( ! unsubscribed ) { List < Subscription > loc0 ; synchronized ( this ) { if ( unsubscribed ) { return ; } unsubscribed = true ; loc0 = subscriptions ; subscriptions = null ; } unsubscribeFromAll ( loc0 ) ; } }