mirror of
https://github.com/atom/atom.git
synced 2026-02-17 18:11:29 -05:00
Merge pull request #18222 from tjfryan/master
Don't mutate Pane serialized state during deserialization
This commit is contained in:
@@ -41,13 +41,13 @@ class Pane {
|
||||
)
|
||||
}
|
||||
|
||||
return new Pane(Object.assign(state, {
|
||||
return new Pane(Object.assign({
|
||||
deserializerManager: deserializers,
|
||||
notificationManager: notifications,
|
||||
viewRegistry: views,
|
||||
config,
|
||||
applicationDelegate
|
||||
}))
|
||||
}, state))
|
||||
}
|
||||
|
||||
constructor (params = {}) {
|
||||
|
||||
Reference in New Issue
Block a user