Add a cleanup phase for OSGi container
This commit is contained in:
parent
a48529731d
commit
b7755bf93d
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue