Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask_android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
bitmask_android
Commits
c623c3fe
Commit
c623c3fe
authored
5 months ago
by
cyberta
Browse files
Options
Downloads
Patches
Plain Diff
improve pairity between registering and unregistering the obfsvpn event logger
parent
2f0c163b
No related branches found
No related tags found
1 merge request
!304
update obfsvpn
Pipeline
#235016
passed
5 months ago
Stage: docker_image_sdk
Stage: docker_image_other
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/se/leap/bitmaskclient/pluggableTransports/ObfsvpnClient.java
+4
-2
4 additions, 2 deletions
...leap/bitmaskclient/pluggableTransports/ObfsvpnClient.java
with
4 additions
and
2 deletions
app/src/main/java/se/leap/bitmaskclient/pluggableTransports/ObfsvpnClient.java
+
4
−
2
View file @
c623c3fe
...
...
@@ -40,17 +40,19 @@ public class ObfsvpnClient implements EventLogger {
try
{
Log
.
d
(
TAG
,
obfsvpnConfig
.
toString
());
client
=
Client
.
newFFIClient
(
obfsvpnConfig
.
toString
());
client
.
setEventLogger
(
this
);
}
catch
(
Exception
e
)
{
throw
new
IllegalStateException
(
e
);
}
}
public
int
start
()
{
synchronized
(
LOCK
)
{
new
Thread
(()
->
{
try
{
if
(
client
.
isStarted
())
{
return
;
}
client
.
setEventLogger
(
this
);
client
.
start
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment