We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 128dbcc commit 72c94e7Copy full SHA for 72c94e7
1 file changed
src/main/java/com/openfin/desktop/demo/LayoutServiceDemo.java
@@ -44,7 +44,6 @@ public class LayoutServiceDemo implements DesktopStateListener {
44
private JButton btnCreateOpenfinWindow;
45
private JButton btnCreateJavaWindow;
46
private Application application;
47
- private ChannelClient channelClient;
48
49
LayoutServiceDemo() {
50
try {
@@ -68,17 +67,6 @@ public void windowClosing(WindowEvent we) {
68
67
69
@Override
70
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
78
- public void onError(Ack ack) {
79
80
- });
81
82
mainWindow.dispose();
83
84
desktopConnection.disconnect();
0 commit comments