Hello,

I'm running into a problem closing a graph (I get from TDB).

According to:

http://jena.apache.org/documentation/javadoc/jena/com/hp/hpl/jena/graph/Graph.html#isClosed%28%29

idClosed should return true as soon as close is called. Howver for me it
doesn't return true even after waiting a while:

        jenaGraph.close();
        for (int i = 0; !jenaGraph.isClosed() && (i < 100); i++) {
            try {
                Thread.sleep(10);
            } catch (InterruptedException ex) {
                Thread.currentThread().interrupt();
            }
        }
        if (!jenaGraph.isClosed()) {
            throw new RuntimeException("hmmm");
        }

Any idea where the problem lies?

Cheers,
Reto

Reply via email to