ShutdownHookThread

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(body: => Unit): ShutdownHookThread

Creates, names, and registers a shutdown hook to run the given code.

Creates, names, and registers a shutdown hook to run the given code.

Source
ShutdownHookThread.scala