summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/OutgoingAsync.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceInternal/OutgoingAsync.java')
-rw-r--r--java/src/IceInternal/OutgoingAsync.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/java/src/IceInternal/OutgoingAsync.java b/java/src/IceInternal/OutgoingAsync.java
index 3c04ba877d1..7336b138929 100644
--- a/java/src/IceInternal/OutgoingAsync.java
+++ b/java/src/IceInternal/OutgoingAsync.java
@@ -438,16 +438,8 @@ public abstract class OutgoingAsync
{
_reference = null;
_connection = null;
- if(__is != null)
- {
- __is.destroy();
- __is = null;
- }
- if(__os != null)
- {
- __os.destroy();
- __os = null;
- }
+ __is = null;
+ __os = null;
_monitor.notify();
}