abort

Syntax

void abort(void)

Description

Causes the program to terminate processing immediately.
All open files are flushed and closed but reserved memory is not automatically freed so this function must be used with caution when allocating memory.

Comments

Depending on why you want to use the Abort function, you might be better to use doAction(CA_CANCEL); instead.
Abort can cause Photoshop to crash in some test builds of FilterMeister (eg FM 1.0g beta). Changing the abort_mode value in 64-bit plugins may help avoid this crash.
When using Ctrl+F (Photoshop repeat last filter) condition is ignored with doAction( CA_CANCEL); This doesn't happen with abort( ); At least for this purpose, abort( ); seems to work more reliably than doAction( CA_CANCEL);

See Also

doAction, abort_mode