Skip to content

Commit

Permalink
Clean up the code
Browse files Browse the repository at this point in the history
  • Loading branch information
konraddysput committed Feb 6, 2024
1 parent 27603a0 commit 8904b24
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
projectPath:
- test-package
unityVersion:
- 2022.1.11f1
- 2022.3.19f1
- 2019.4.40f1
- 2020.3.20f1
- 2020.3.48f1
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down
7 changes: 1 addition & 6 deletions Runtime/Model/WaitForFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ namespace Backtrace.Unity.Model
{
public class WaitForFrame
{
private static IWaiter _waiter;

static WaitForFrame ()
{
_waiter = CreateWaiterStrategy();
}
private static IWaiter _waiter = CreateWaiterStrategy();

public static YieldInstruction Wait()
{
Expand Down
1 change: 0 additions & 1 deletion Runtime/Waiter/BatchModeWaiter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ public class BatchModeWaiter : IWaiter
{
public YieldInstruction Wait()
{
Debug.Log("Using BatchModeWaiter");
return null;
}
}
Expand Down
1 change: 0 additions & 1 deletion Runtime/Waiter/EndOfFrameWaiter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ public class EndOfFrameWaiter : IWaiter
{
public YieldInstruction Wait()
{
Debug.Log("Using EndOfFrameWaiter");
return new WaitForEndOfFrame();
}
}
Expand Down

0 comments on commit 8904b24

Please sign in to comment.