Add a cleanup phase for OSGi container

This commit is contained in:
Taro L. Saito 2013-08-13 16:09:29 +09:00
parent a48529731d
commit b7755bf93d
1 changed files with 3 additions and 2 deletions

View File

@ -24,12 +24,12 @@
//--------------------------------------
package org.xerial.snappy;
import java.util.jar.Manifest;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import java.util.jar.Manifest;
/**
* OSGi bundle entry point
*
@ -56,5 +56,6 @@ public class SnappyBundleActivator implements BundleActivator
public void stop(BundleContext context) throws Exception
{
SnappyLoader.setApi(null);
Snappy.cleanUp();
}
}