~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to py/modules/IcePy/Connection.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martín
  • Date: 2011-06-25 19:44:26 UTC
  • mfrom: (6.1.16 sid)
  • Revision ID: james.westby@ubuntu.com-20110625194426-9fip3u3hlwheohvl
Tags: 3.4.2-1
New upstream release (Closes: #631456).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// **********************************************************************
2
2
//
3
 
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
 
3
// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
4
4
//
5
5
// This copy of Ice is licensed to you under the terms described in the
6
6
// ICE_LICENSE file included in this distribution.
98
98
    assert(self->connection);
99
99
    try
100
100
    {
 
101
        AllowThreads allowThreads; // Release Python's global interpreter lock during blocking invocations.
101
102
        (*self->connection)->close(force > 0);
102
103
    }
103
104
    catch(const Ice::Exception& ex)
209
210
    assert(self->connection);
210
211
    try
211
212
    {
 
213
        AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations.
212
214
        (*self->connection)->flushBatchRequests();
213
215
    }
214
216
    catch(const Ice::Exception& ex)