delete_thread

Function delete_thread 

Source
pub fn delete_thread(
    ctx: Context<'_, '_, '_, '_, ThreadDelete<'_>>,
) -> Result<()>
Expand description

Closes an existing thread account and returns the lamports to the owner. Requires authority (owner) or thread itself to sign. External fiber accounts should be passed via remaining_accounts.