office-gobmx/binaryurp
Noel Grandin 5f3031b33a Revert "loplugin:unodispose in binaryurp"
This reverts commit 3d9f9b1b29.

Reason for revert: comment from sberg:

I'm not convinced that a general rule of "clear all references in dispose()" is a good idea.  For example, in this class, access to connection_ and provider_ is not guarded against MT-races, on the basis that those two are never modified post construction.  That is broken now.  Also, e.g. Bridge::getDescription dereferences connection_, and benignly used to work fine even when called on a disposed instance.  Now, it causes UB.

Change-Id: I6039d5b1488146f09439312800ceb1de3cfcf0ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156878
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-09-13 12:29:13 +02:00
..
qa
source Revert "loplugin:unodispose in binaryurp" 2023-09-13 12:29:13 +02:00
CppunitTest_binaryurp_test-cache.mk
CppunitTest_binaryurp_test-unmarshal.mk
IwyuFilter_binaryurp.yaml
Library_binaryurp.mk
Makefile
Module_binaryurp.mk
README.md

UNO Remote Protocol (URP)

UNO provides a binary protocol called the UNO Remote Protocol (URP) that provides a bridge between UNO environments. This bridge allows processes and objects to send method calls and to receive return values. UNO objects in different environments are connected by way of this interprocess bridge. The underlying connection is made through a socket or pipe. Remote UNO objects are connected by means of TCP/IP using the high-level protocol of the URP.