deprecate dispose()
bad practice
This commit is contained in:
@@ -55,7 +55,14 @@ ServerContextImpl::ServerContextImpl():
|
||||
|
||||
ServerContextImpl::~ServerContextImpl()
|
||||
{
|
||||
dispose();
|
||||
try
|
||||
{
|
||||
shutdown();
|
||||
}
|
||||
catch(std::exception& e)
|
||||
{
|
||||
std::cerr<<"Error in: ServerContextImpl::dispose: "<<e.what()<<"\n";
|
||||
}
|
||||
}
|
||||
|
||||
const GUID& ServerContextImpl::getGUID()
|
||||
|
||||
Reference in New Issue
Block a user