Code/Tools/AssetProcessor/native/connection/connectionManager.cpp
void ConnectionManager::removeConnection(unsigned int connectionId)
{
    Connection* conn = getConnection(connectionId);
    if (conn)
    {
        Q_EMIT beforeConnectionRemoved(connectionId);
        conn->SetAutoConnect(false);
        conn->Terminate();
    }
}
//Entry point to removing a connection
//Callable from the GUI or the app about to close
Entry point to removing a connection
Callable from the GUI or the app about to close
Entry point to removing a connection Callable from the GUI or the app about to close
void ConnectionManager::removeConnection(unsigned int connectionId)
{
    Connection* conn = getConnection(connectionId);
    if (conn)
    {
        Q_EMIT beforeConnectionRemoved(connectionId);
        conn->SetAutoConnect(false);
        conn->Terminate();
    }
}
void ConnectionManager :: removeConnection ( unsigned int connectionId ) { Connection * conn = getConnection ( connectionId ) ; if ( conn ) { Q_EMIT beforeConnectionRemoved ( connectionId ) ; conn -> SetAutoConnect ( false ) ; conn -> Terminate ( ) ; } }
Entry point to removing a connection
Callable from the GUI or the app about to close
Entry point to removing a connection Callable from the GUI or the app about to close