Skip to main content

delete_thread

Function delete_thread 

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

Deletes a thread - admin only, skips all checks. Used for cleaning up stuck/broken threads.