File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/main/java/dev/openfeature/sdk Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -32,29 +32,31 @@ private void asomeMethod() throws InterruptedException {
3232 c .incrementAndGet ();
3333 var client = api .getClient ();
3434 var firstReady = new Awaitable ();
35- Thread first = new Thread () {
35+ Thread first = new Thread ("test thread" ) {
3636 @ Override
3737 public void run () {
3838 firstReady .wakeup ();
3939 client .getStringValue ("a" , "a" );
40- client .getStringValue ("a" , "a" );
40+ // client.getStringValue("a", "a");
4141 }
4242 };
4343
4444 first .start ();
4545 firstReady .await ();
4646
4747 client .addHooks (new Hook () {});
48- client .addHooks (new Hook () {});
48+ // client.addHooks(new Hook() {});
4949
5050 first .join ();
5151 }
5252 }
5353
54+ api .shutdown ();
55+
5456 System .out .println ("c = " + c );
5557 System .out .println ("jaVar = " + jaVar );
5658
57- Thread .sleep (5000 );
58- System .exit (0 );
59+ // Thread.sleep(5000);
60+ // System.exit(0);
5961 }
6062}
You can’t perform that action at this time.
0 commit comments