src/java.base/share/classes/sun/nio/ch/AbstractPollSelectorImpl.java
changeset 49248 15a0e60c8b97
parent 47216 71c04702a3d5
equal deleted inserted replaced
49247:95e00d2708fb 49248:15a0e60c8b97
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    97                     ((SelChImpl)selch).kill();
    97                     ((SelChImpl)selch).kill();
    98             }
    98             }
    99             implCloseInterrupt();
    99             implCloseInterrupt();
   100             pollWrapper.free();
   100             pollWrapper.free();
   101             pollWrapper = null;
   101             pollWrapper = null;
   102             selectedKeys = null;
       
   103             channelArray = null;
   102             channelArray = null;
   104             totalChannels = 0;
   103             totalChannels = 0;
   105         }
   104         }
   106     }
   105     }
   107 
   106