Skip to content

Commit

Permalink
Allow setFactoryClassName to be run after startup.
Browse files Browse the repository at this point in the history
(For testing.)
  • Loading branch information
JonathanLennox committed Sep 22, 2020
1 parent a43ce66 commit fa8a914
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/jitsi/srtp/crypto/Aes.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ public static synchronized void setFactoryClassName(String name)
{
FACTORY_CLASS_NAME = name;
factoryClass = null;
fastestFactories.clear();
factories = null;
}

private static abstract class BenchmarkOperation
Expand Down

0 comments on commit fa8a914

Please sign in to comment.