summaryrefslogtreecommitdiff
path: root/swift/src/IceImpl/BlobjectFacade.mm
diff options
context:
space:
mode:
Diffstat (limited to 'swift/src/IceImpl/BlobjectFacade.mm')
-rw-r--r--swift/src/IceImpl/BlobjectFacade.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/swift/src/IceImpl/BlobjectFacade.mm b/swift/src/IceImpl/BlobjectFacade.mm
index 446535fdd30..f4f6189f9ce 100644
--- a/swift/src/IceImpl/BlobjectFacade.mm
+++ b/swift/src/IceImpl/BlobjectFacade.mm
@@ -26,6 +26,9 @@ BlobjectFacade::ice_invokeAsync(std::pair<const Byte*, const Byte*> inEncaps,
ICEObjectAdapter* adapter = [ICEObjectAdapter getHandle:current.adapter];
ICEConnection* con = [ICEConnection getHandle:current.con];
+ // Both are null (colloc) or both are non-null (non-colloc).
+ assert((current.con && con) || (!current.con && !con));
+
@autoreleasepool
{
[_facade facadeInvoke:adapter