DeinitPolicy

public enum DeinitPolicy

The action to perform after a ClassHookProtocol.deinitializer() is run.

Unless you’re managing the target class’ own resources, you usually want to use callOrig.

  • Call the target’s original deinitializer implementation.

    Declaration

    Swift

    case callOrig
  • Call the target’s superclass deinitializer implementation.

    Declaration

    Swift

    case callSupr