diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-09-19 12:56:02 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-09-19 12:56:02 +0000 |
commit | 3650aec01560a0a62873de0c89ad011344dca170 (patch) | |
tree | 54db2afe60a4f9296af9c81625ef39f5a03cdf14 /cpp/src/slice2vb/Gen.cpp | |
parent | Bug fixes (diff) | |
download | ice-3650aec01560a0a62873de0c89ad011344dca170.tar.bz2 ice-3650aec01560a0a62873de0c89ad011344dca170.tar.xz ice-3650aec01560a0a62873de0c89ad011344dca170.zip |
Bug 432 - unwanted OutgoingAync cleanup() if __response prompted retry.
Diffstat (limited to 'cpp/src/slice2vb/Gen.cpp')
-rwxr-xr-x | cpp/src/slice2vb/Gen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2vb/Gen.cpp b/cpp/src/slice2vb/Gen.cpp index 504c461932e..7bd01a9bede 100755 --- a/cpp/src/slice2vb/Gen.cpp +++ b/cpp/src/slice2vb/Gen.cpp @@ -4838,7 +4838,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) _out.dec(); _out << nl << "End Sub"; - _out << sp << nl << "Protected Overrides Sub __response(__ok As Boolean)"; + _out << sp << nl << "Protected Overrides Sub __response(__ok As Boolean) As Boolean"; _out.inc(); for(q = outParams.begin(); q != outParams.end(); ++q) { @@ -4922,19 +4922,19 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) _out.dec(); _out << nl << "Catch __ex As Ice.LocalException"; _out.inc(); - _out << nl << "__finished(__ex)"; - _out << nl << "Return"; + _out << nl << "Return __finished(__ex)"; _out.dec(); if(!throws.empty()) { _out << nl << "Catch __ex As Ice.UserException"; _out.inc(); _out << nl << "ice_exception(__ex)"; - _out << nl << "Return"; + _out << nl << "Return False"; _out.dec(); } _out << nl << "End Try"; _out << nl << "ice_response" << spar << args << epar; + _out << nl << "Return False"; _out.dec(); _out << nl << "End Sub"; _out.dec(); |