Project

General

Profile

« Previous | Next » 

Revision c38f3d33

Added by Leszek Koltunski over 2 years ago

Correction

View differences:

src/main/java/org/distorted/library/message/EffectMessageSender.java
65 65
    {
66 66
    synchronized(mLock)
67 67
      {
68
      mStartTime = System.currentTimeMillis();
69
      mNumStarts++;
70

  
71 68
      if( mThis==null )
72 69
        {
70
        mStartTime = System.currentTimeMillis();
71
        mNumStarts++;
72

  
73 73
        mList = new Vector<>();
74 74
        mThis = new EffectMessageSender();
75 75
        mThis.start();
......
83 83
    {
84 84
    synchronized(mLock)
85 85
      {
86
      mStopTime = System.currentTimeMillis();
87
      mNumStarts--;
88

  
89 86
      if( mThis!=null )
90 87
        {
88
        mStopTime = System.currentTimeMillis();
89
        mNumStarts--;
90

  
91 91
        mThis=null;
92 92
        mLock.notify();
93 93
        }

Also available in: Unified diff