attempt to fix the OS X connect bug
This commit is contained in:
parent
8bd2e4d15d
commit
e1a9ef76b9
1 changed files with 1 additions and 2 deletions
|
@ -307,8 +307,6 @@ void connect_operation::run()
|
|||
return;
|
||||
}
|
||||
|
||||
//no blocking operations from here on
|
||||
const threading::lock l(get_mutex());
|
||||
LOG_NW << "sent handshake...\n";
|
||||
|
||||
if(is_aborted()) {
|
||||
|
@ -333,6 +331,7 @@ void connect_operation::run()
|
|||
wassert(schemas.count(connect_) == 0);
|
||||
schemas.insert(std::pair<network::connection,schema_pair>(connect_,schema_pair()));
|
||||
|
||||
const threading::lock l(get_mutex());
|
||||
while(!notify_finished());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue