When I disabled ActorSystem, I found that it was ActorSystem::shutdowndeprecated. He suggested "Use the terminate() method instead".
But the decomposition of these methods is almost the same:
def terminate(): Future[Terminated]
and
@deprecated("Use the terminate() method instead", "2.4")
def shutdown(): Unit
with one exception, the return type has changed. What is the reason for giving up shutdown? Isn't it safe?
source
share