Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/Infiltrator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@ mutable struct Session
exiting::Bool
disabled::Set
conditions::Dict
function Session(exiting, disabled, conditions)
session = new()
session.exiting = exiting
session.disabled = disabled
session.conditions = conditions
session
end
end
function Base.show(io::IO, s::Session)
n = length(get_store_names(s))
Expand Down Expand Up @@ -229,7 +236,7 @@ Also see [`clear_store!`](@ref), [`set_store!`](@ref), and [`@withstore`](@ref)
safehouse-related functionality.
"""
@doc store_docstring
const store = Session(Module(), false, Set(), Dict())
const store = Session(false, Set(), Dict())
@doc store_docstring
const safehouse = store
@doc store_docstring
Expand Down
Loading