Skip to content

Commit 72c94e7

Browse files
committed
ADAP-142 removed unneeded code.
1 parent 128dbcc commit 72c94e7

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/main/java/com/openfin/desktop/demo/LayoutServiceDemo.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public class LayoutServiceDemo implements DesktopStateListener {
4444
private JButton btnCreateOpenfinWindow;
4545
private JButton btnCreateJavaWindow;
4646
private Application application;
47-
private ChannelClient channelClient;
4847

4948
LayoutServiceDemo() {
5049
try {
@@ -68,17 +67,6 @@ public void windowClosing(WindowEvent we) {
6867

6968
@Override
7069
public void onSuccess(Ack ack) {
71-
if (channelClient != null) {
72-
desktopConnection.getChannel().disconnect(channelClient, new AckListener() {
73-
@Override
74-
public void onSuccess(Ack ack) {
75-
}
76-
77-
@Override
78-
public void onError(Ack ack) {
79-
}
80-
});
81-
}
8270
mainWindow.dispose();
8371
try {
8472
desktopConnection.disconnect();

0 commit comments

Comments
 (0)