destroying.rb revision 113cd002139756abd35496a70a5aae2a8dbd4d62
included do
end
end
end
# Only use `destroy_asynchronously` if you want to destroy a repository.
# It prepares the deletion by setting a flag, which enables the deletion
# of its ontologies.
rescue StandardError => e
self.is_destroying = false
save!
cause: e
end
self.is_destroying = false
save!
end
end
self.is_destroying = true
save!
end
end
end