Niffler.Library.on_destroy

You're seeing just the callback on_destroy, go back to Niffler.Library module for more information.

Specs

on_destroy() :: binary()

Return a c-fragement that is called when the module is unloaded. Typicallly this fragment would contain a call to dlclose() for a dynamic library.

Example:

  @impl true
  def on_destroy() do
    """
    if (!gmp) {
      return;
    }
    // unloading
    dlclose(gmp);
    """
  end