Skip to content

Commit

Permalink
listener manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jan 16, 2021
1 parent 6acca30 commit 920e953
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,14 @@ public class CoreListenerManager(
oldValue.apply { addAll(value) }
}

ConcurrentHashMap<Int, Int>().clear()

// clear cache map.
// 寻找并更新缓存监听
// no. 直接清除缓存。
cacheListenerFunctionMap.clear()
// 清除缓存
if (cacheListenerFunctionMap.isNotEmpty()) {
cacheListenerFunctionMap.clear()
logger.debug("Listener cache cleaned.")
}


logger.debug("Listener cache cleaned.")

}
}
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<!-- plugins -->

<!-- dokka version -->
<dokka.version>1.4.20</dokka.version>
<dokka.version>1.4.0-rc</dokka.version>
<!-- sb maven version -->
<spring.version>2.3.5.RELEASE</spring.version>

Expand Down Expand Up @@ -631,6 +631,7 @@
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<!--<version>1.3.9</version>-->
<version>${dokka.version}</version>
<executions>
<execution>
Expand Down

0 comments on commit 920e953

Please sign in to comment.