https://bugs.eclipse.org/bugs/show_bug.cgi?id=576085

Change-Id: Iacdba797d5f4294ec6e8f80ba3e2fdc239536a82
diff --git a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/RemoteServiceRegistrationImpl.java b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/RemoteServiceRegistrationImpl.java
index a6ac8c9..410d2a2 100644
--- a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/RemoteServiceRegistrationImpl.java
+++ b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/RemoteServiceRegistrationImpl.java
@@ -133,6 +133,7 @@
 		if (this.registrationListener != null) {
 			this.registrationListener.unregister(this);
 		}
+		this.classLoader = null;
 	}
 
 	/**
diff --git a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/client/RemoteServiceClientRegistration.java b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/client/RemoteServiceClientRegistration.java
index c0aa367..25fd46b 100644
--- a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/client/RemoteServiceClientRegistration.java
+++ b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/client/RemoteServiceClientRegistration.java
@@ -107,6 +107,7 @@
 
 	public void unregister() {
 		registry.unregisterRegistration(this);
+		this.classLoader = null;
 	}
 
 	protected IRemoteCallable findDefaultRemoteCallable(String methodToFind) {