# fsVarsUnregisterAllVarsStatusUpdateHandler The **fsVarsUnregisterAllVarsStatusUpdateHandler** function can be used to unregister all handlers previously registered with [fsVarsRegisterVarsStatusUpdateHandler](fsvarsregistervarsstatusupdatehandler/).   ##### Syntax ``` wasm FsVarError fsVarsUnregisterAllVarsStatusUpdateHandler(); ```   ##### Parameters N/A   ##### Return Values The function returns `FsVarError`, where 0 means there is no error (in which case the handler will be called each time the simulation needs to notify a change in the variables).   ##### Example ``` wasm extern "C" MSFS_CALLBACK void module_deinit() { FsVarError err = fsVarsUnregisterAllVarsStatusUpdateHandler(); if (err != FS_VAR_ERROR_NONE) { // Error } } ```