fix channel open

This commit is contained in:
Alexey Shcherbakov 2013-02-01 15:17:58 +06:00
parent 040671e452
commit 255b6a3921
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ void ChannelPrivate::sendFrame( const QAMQP::Frame::Base & frame )
void ChannelPrivate::open()
{
if(!needOpen)
if(!needOpen || opened)
return;
if(!client_->pd_func()->connection_->isConnected())