@ SuppressWarnings ( "unused" ) // called through reflection by RequestServer public ModelsV3 delete ( int version , ModelsV3 s ) { Model model = getFromDKV ( "key" , s . model_id . key ( ) ) ; model . delete ( ) ; // lock & remove return s ; }
Remove an unlocked model . Fails if model is in - use .