Sharing state between beforeDelete and afterDelete lifecycle hooks

It is fixed now in version 4.1.12 @drazik @OscarNevarez @sturatcliffe