shutdownNotifier

Top  Previous  Next

The shutdown notifier is a object of class type publisher. Register with this object to be notified of script reset or Girder shutdown.

 

Example

gir.shutdownNotifier:subscribe( function ( ) 

  print("SHUTTING DOWN PANIC!!")

end)

 

This will print "SHUTTING DOWN PANIC!!" when the Lua script engine is reset or Girder is shutdown.